Allow ping within a container. Issue #91

Allow the net_raw capability
Upstream-commit: 9ff6dd767a5849754c6e812ffba08f0d4ce3a38e
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-03-15 02:37:02 -07:00
parent ad64015e72
commit 15232d04ae

View File

@ -82,7 +82,7 @@ lxc.mount.entry = /etc/resolv.conf {{$ROOTFS}}/etc/resolv.conf none bind,ro 0 0
# drop linux capabilities (apply mainly to the user root in the container)
lxc.cap.drop = audit_control audit_write mac_admin mac_override mknod net_raw setfcap setpcap sys_admin sys_boot sys_module sys_nice sys_pacct sys_rawio sys_resource sys_time sys_tty_config
lxc.cap.drop = audit_control audit_write mac_admin mac_override mknod setfcap setpcap sys_admin sys_boot sys_module sys_nice sys_pacct sys_rawio sys_resource sys_time sys_tty_config
# limits
{{if .Config.Memory}}