Closed kittenvr closed 3 months ago
Hi seems like you already have a container named my-dashboard, try a different name or delete the old if not used anymore.
Then the command should work fine :)
what command to delete it
I suggest you familiarize yourself first with docker a bit, here are some basic tutorials: https://youtu.be/eGz9DS-aIeY https://youtu.be/94VQvRpjfO8
@kittenvr Could you resolve the issue?
I think so
even after removing the container it was still around. had to do a prune.
docker system prune
docker system prune -a --volumes
but the main problem was setting up the container with -v option.
Create a YAML file, (touch my-conf.yml), populate it with a sample config, then pass it as a volume: -v ./my-local-conf.yml:/app/user-data/conf.yml
docker run -d \
-p 80:8080 \
-v ~/my-conf.yml:/app/user-data/conf.yml \
--name my-dashboard \
lissy93/dashy:latest
Environment
Self-Hosted (Docker)
System
debian
Version
latest i think
Describe the problem
when i run the command from the website i get an error
Additional info
sudo docker run -d -p 8080:8080 -v ~/my-conf.yml:/app/user-data/conf.yml --name my-dashboard --restart=always lissy93/dashy:latest docker: Error response from daemon: Conflict. The container name "/my-dashboard" is already in use by container "a1ed5f996baf74e1b1875e7f2838376009c3d5fcf718a9fc50d1a3e3a95ed8ad". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'.
Please tick the boxes