homeassistant-docker-venv icon indicating copy to clipboard operation
homeassistant-docker-venv copied to clipboard

--mount: "bind source path does not exist", but it does

Open YvesDC opened this issue 1 year ago • 2 comments

command : docker run --device /dev/ttyUSB0:/dev/ttyUSB0 -d --name="home-assistant" --mount type=bind,source=/home/USERNAME,target=/config2 -v /etc/localtime:/etc/localtime:ro --net=host ghcr.io/home-assistant/home-assistant

docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/USERNAME.

but source path exists image

YvesDC avatar Aug 03 '24 07:08 YvesDC

This does not appear to be related to this repo, but some quick searching suggest this may be related to having docker installed as a snap. What OS are you using? How did you install docker?

Cf. https://forums.docker.com/t/bind-source-path-does-not-exist-but-it-does-exist/124250/8

tribut avatar Aug 04 '24 17:08 tribut

Hi, Not completely sure. I am using a raspbery pi 5 and installed the home assistant operating system which includes the docker. (and then updated to the latest version)

YvesDC avatar Aug 05 '24 07:08 YvesDC