reproduce the error (ubuntu)
rocker --x11 --nocleanup --privileged osrf/ros:noetic-desktop-full
to start the image, and then inside the container i type the exit
command.
doing
docker ps -a
i get the container with status Exit(0).
the when i want to start the container i use
docker start id
getting this error:
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting â/tmp/.dockerhl7oumo6.xauthâ to rootfs at â/tmp/.dockerhl7oumo6.xauthâ: mount /tmp/.dockerhl7oumo6.xauth:/tmp/.dockerhl7oumo6.xauth (via /proc/self/fd/8), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Error: failed to start containers: e669de809abb
and with
docker ps -a
i have that the container has Status: Exited (127) .
i tried many things like deleting rocker and docker, even following the error response but nothing works.
if i start the container using only docker run than everything works fine. this problem arise only when using rocker.
when i use docker logs, the container automatically exit without giving me messages.