tribut / homeassistant-docker-venv

Run Home Assistant as non-root using the official docker image
123 stars 15 forks source link

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

Open YvesDC opened 3 months ago

YvesDC commented 3 months ago

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

tribut commented 3 months ago

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

YvesDC commented 3 months ago

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)