[ros-melodic] realsense
Closed this issue · 1 comments
fzoric8 commented
On my PC I'm having problems with restarting realsense_cont
with following error message:
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/tmp/.docker.xauth" to rootfs at "/tmp/.docker.xauth" caused: mount through procfd: 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
Removing container and starting it again - solves the issue.
docker rm <realsense_cont_name>
cd <path_to_docker_files>/docker_files/ros_melodic/realsense_ros
./first_run.sh
However, that's not ideal or best way to solve that issue.
TODO:
- Explore
-v
and--mount
differences as stated [here] (https://docs.docker.com/storage/bind-mounts/) - Fix the issue that's caused by the
xauth
It is probably something related to the -v
flags,
fzoric8 commented
@JakobDomislovic solved,
Added explanation in the FAQ.