Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YvesDC opened this issue Aug 3, 2024 · 2 comments
Open

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

YvesDC opened this issue Aug 3, 2024 · 2 comments
Labels
invalid This doesn't seem right

Comments

@YvesDC
Copy link

YvesDC commented Aug 3, 2024

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
Copy link
Owner

tribut commented Aug 4, 2024

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 tribut added the invalid This doesn't seem right label Aug 4, 2024
@tribut tribut changed the title --mount sourth path does not exist, but it does --mount: "bind source path does not exist", but it does Aug 4, 2024
@YvesDC
Copy link
Author

YvesDC commented Aug 5, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants