Bind mounting /var/run/netns
After reading: https://www.slideshare.net/clayton_oneill/dockerizing-the-hard-services-neutron-amp-nova
This commit is contained in:
parent
8942c31edc
commit
0b92467965
@ -17,6 +17,7 @@ ExecStart=/usr/bin/docker run --name %n \
|
||||
--privileged \
|
||||
--network host \
|
||||
-v /lib/modules:/lib/modules \
|
||||
-v /var/run/netns:/var/run/netns \
|
||||
{{ docker_image }} /etc/run.sh
|
||||
|
||||
[Install]
|
||||
|
@ -43,6 +43,7 @@ ExecStart=/usr/bin/docker run --name %n \
|
||||
-v /dev:/dev \
|
||||
-v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock \
|
||||
-v /var/lib/nova/instances:/var/lib/nova/instances \
|
||||
-v /var/run/netns:/var/run/netns \
|
||||
-v /lib/modules:/lib/modules \
|
||||
-v /etc/machine-id:/etc/machine-id \
|
||||
-v /etc/ceph:/etc/ceph \
|
||||
|
Loading…
Reference in New Issue
Block a user