Thanks for testing. Could you paste the result of:
systemctl show docker.service | grep MountFlags
do you make sure the output has mountFlags? If you specify the mountFlags=shared in kolla.conf, that will induce the error.
===============================================================================================
linaro@j12-m1-c18n1:~$ cat /etc/systemd/system/docker.service.d/kolla.conf
[Service]
MountFlags=shared
ExecStart=
ExecStart=/usr/bin/dockerd --insecure-registry registry.hub.docker.com --log-opt max-file=5 --log-opt max-size=50m
=================================================================================================
linaro@j12-m1-c18n1:~$ sudo docker run -it ubuntu bash
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown.
===============================================================================================
Besides, if you not specify the mountFlags, just delete the line "mountFlags=shared", every thing is OK.
@radoslaw,
Thanks for testing. Could you paste the result of:
systemctl show docker.service | grep MountFlags
do you make sure the output has mountFlags? If you specify the mountFlags=shared in kolla.conf, that will induce the error. ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== j12-m1- c18n1:~ $ cat /etc/systemd/ system/ docker. service. d/kolla. conf /usr/bin/ dockerd --insecure-registry registry. hub.docker. com --log-opt max-file=5 --log-opt max-size=50m ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====== j12-m1- c18n1:~ $ sudo docker run -it ubuntu bash linux.go: 345: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown. ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
linaro@
[Service]
MountFlags=shared
ExecStart=
ExecStart=
=======
linaro@
docker: Error response from daemon: OCI runtime create failed: container_
=======
Besides, if you not specify the mountFlags, just delete the line "mountFlags= shared" , every thing is OK.