geerlingguy / docker-centos6-ansible

CentOS 6.x Docker container for Ansible playbook and role testing.
https://hub.docker.com/r/geerlingguy/docker-centos6-ansible/
MIT License
8 stars 17 forks source link

/sbin/init has gone missing recently #2

Closed geerlingguy closed 7 years ago

geerlingguy commented 7 years ago

All my downstream builds are now showing:

docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/sbin/init\\\": stat /sbin/init: no such file or directory\"\n".

It seems like something's changed upstream. If I run the image with /bin/bash, it confirms that /sbin/init is no longer present. It's not in /usr/sbin/init either.

geerlingguy commented 7 years ago

See: https://github.com/CentOS/sig-cloud-instance-images/issues/28#issuecomment-306801650

geerlingguy commented 7 years ago

Looks like it may have been related to this commit: https://github.com/CentOS/sig-cloud-instance-build/commit/7b889c53635a906d398a493ff74dbf5178cf8b37

Testing a fix (installing initscripts in the Dockerfile) now.