Without host mode the docker container id
is referenced in volume name.
This commit is contained in:
parent
51e2bf3544
commit
4309956de1
@ -18,6 +18,7 @@ ExecStart=/usr/bin/docker run --name %n \
|
|||||||
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
|
-v "/srv/cinder-storage/volumes/:/var/lib/cinder/volumes/" \
|
||||||
-p 8777:8776 \
|
-p 8777:8776 \
|
||||||
-p 3260:3260 \
|
-p 3260:3260 \
|
||||||
|
--network=host \
|
||||||
{{ docker_image }}
|
{{ docker_image }}
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user