-
Notifications
You must be signed in to change notification settings - Fork 22
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
Docker anonymous volumes created #71
Comments
This/these are created, due to the Line 277 in 6e0aca8
You may try to create "real" Docker volume with the container path: Starting the container like |
I'm using docker compose and for some reason I just keep getting more and more of the stray volumes. Not sure when a new one appears, perhaps after a reboot. Anyhow I tried mounting a volume on
My compose file looks like: services:
eturnal:
image: ghcr.io/processone/eturnal:latest
container_name: eturnal
restart: unless-stopped
network_mode: host
user: 9000:9000
read_only: true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
security_opt:
- no-new-privileges:true
environment:
- STUN_SERVICE=false
volumes:
- ./eturnal/eturnal.yml:/etc/eturnal.yml:ro
- ./eturnal/opt:/opt/eturnal And I chowned the directory:
|
Actually, now when I think about it again, I think it is not possible to avoid the anonymous volume, also not with the trick proposed. We use the Also relates to #5 |
I noticed using the
ghcr.io/processone/eturnal:latest
docker image, I seem to get a bunch of anonymous docker volumes created.The text was updated successfully, but these errors were encountered: