x11docker ERROR: Docker startup seems to have failed!
Last lines of docker.log:
27 export TERM=xterm
28 export HOME=/home/jan
29
30 env > /x11docker/environment
31 sed -i "/\(PWD=\|_=\)/d" /x11docker/environment
32
33 cd "$HOME"
34
35 exec $Dbus /usr/bin/kaptain /x11docker.kaptn >>/x11docker/stdout 2>>/x11docker/stderr
36 # Ready for docker run
Last lines of xterm.log:
Error: No such container: x11docker_X0_284fda_x11docker_kaptain
x11docker: container not ready on 8. attempt, trying again.
Error: No such container: x11docker_X0_284fda_x11docker_kaptain
x11docker: container not ready on 9. attempt, trying again.
Error: No such container: x11docker_X0_284fda_x11docker_kaptain
x11docker: container not ready on 10. attempt, trying again.
Error response from daemon: no such image: x11docker_X0_284fda_x11docker_kaptain: invalid reference format: repository name must be lowercase
x11docker: container IP:
x11docker: container PID:
Error: No such container: x11docker_X0_284fda_x11docker_kaptain
Docker daemon messages:
Error response from daemon: Container 97c6d821f537ff2e6822c05444409cdbd4f6eae22495e439811b521575a80125 is not running
docker: Error response from daemon: exec: "docker-init": executable file not found in $PATH.
Error response from daemon: no such image: x11docker_X0_284fda_x11docker_kaptain: invalid reference format: repository name must be lowercase
A summarization about missing
initin docker:For unknown reasons, some docker packages are missing the init binary
/usr/bin/docker-init. This is at least true for openSUSE, fedora, CentOS and deepin. This is a bug in docker package and should be reported to the distribution package maintainers.docker run --helpshows option--init, but it fails.My installation from docker repository shows:
tiniis available on github: https://github.com/krallin/tini docker uses the statically linked https://github.com/krallin/tini/releases/download/v0.13.0/tini-staticCurrent solutions to get
tiniin container if docker run option--initfails:tiniin image and using it asENTRYPOINT: tini installation instructions for Docker imagestini-staticversion and storing it at one of~/.local/bin/x11docker(current user only)/usr/local/x11docker(system wide)tini-staticis version 0.18.0: https://github.com/krallin/tini/releases/download/v0.18.0/tini-statictini-staticas/usr/bin/docker-init. Maybe docker will recognize and use it. But even better the distribution packages should be fixed.