Created
March 15, 2017 16:44
-
-
Save longshorej/b31bd73e78e4f43b5fe7839e13827680 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Fri, Jun 26, 2015 at 10:18:27AM -0700, Alexander Morozov wrote: | |
There is no network section in spec now. We probably should have some. | |
For what it's worth, you can currently (48182db, 2015-07-07) just | |
use the host's network configuration with the following changes to the | |
stock config: | |
Add to mounts: | |
{ | |
"type": "bind", | |
"source": "/etc/resolv.conf", | |
"destination": "/etc/resolv.conf", | |
"options": "rbind,ro" | |
} | |
Remove from linux.resources: | |
"network": { | |
"classId": "", | |
"priorities": null | |
} | |
Remove from linux.namespaces: | |
{ | |
"type": "network", | |
"path": "" | |
} | |
If you want ‘ping’ and similar to work in your container, add NET_RAW | |
to linux.capabilities. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment