Docker Community Forums

Share and learn in the Docker community.

/etc/init.d/docker is missing for Docker version 18.09.0


(Atymoshyk) #1

After upgrading to the new version of Docker engine (18.09.0) I am unable to start docker daemon in a Codebuild container (and in a container running locally as well):
[Container] 2018/11/08 06:01:54 Running command /etc/init.d/docker start
/codebuild/output/tmp/script.sh: 4: /codebuild/output/tmp/script.sh: /etc/init.d/docker: not found

When I installed docker-ce=18.06.1~ce~3-0~ubuntu the file was present:
root@110b4d04942f:/# ls -alh /etc/init.d/docker
-rwxr-xr-x 1 root root 3.8K Aug 21 17:17 /etc/init.d/docker

Could you please let me know if another way should be used to start docker daemon (for the case running it inside a container)?


(Adrianantunez) #2

I’m also experimenting the same issue but with the docker-ce version in Debian (pulled from download.docker.com/linux/debian/dists/stretch/stable/binary-amd64/) concretelly the docker-ce 5:18.09.0~3-0~debian-stretch version doesn’t work: service docker start doesn’t recognize the service but 18.06.1~ce~3-0stretch does.


(Adrianantunez) #3

Nobody can take a look at this and fix the wrong uploaded package?


(Adrianantunez) #4

Well, looking that there is no answer here, I’ve added an issue in it’s github page: https://github.com/moby/moby/issues/38184 it seems that at least in there they’re looking into that issue…