-
-
Save frezbo/9c6a5ce5ab82e4907cdf39d1c00cd9b4 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