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

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)?

1 Like

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.

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

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…