forked from pool/docker
Accepting request 452786 from home:jordimassaguerpla:branch:Vc:fix_runtime_docker
- provide the oci runtime so that containers which were using an old runtime option, when started on the new docker version, the runtime is changed to the new one. fix bsc#1020806 bsc#1016992 OBS-URL: https://build.opensuse.org/request/show/452786 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=166
This commit is contained in:
@@ -11,7 +11,7 @@ EnvironmentFile=/etc/sysconfig/docker
|
||||
# enabled by default because enabling socket activation means that on boot your
|
||||
# containers won't start until someone tries to administer the Docker daemon.
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/dockerd --containerd /run/containerd/containerd.sock $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS
|
||||
ExecStart=/usr/bin/dockerd --containerd /run/containerd/containerd.sock --add-runtime oci=/usr/bin/docker-runc $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS
|
||||
ExecStartPost=/usr/lib/docker/docker_service_helper.sh wait
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
|
||||
|
Reference in New Issue
Block a user