Questions tagged [docker-named-volume]
3 questions
133
votes
4 answers
Remove a named volume with docker-compose?
If I have a docker-compose file like:
version: "3"
services:
postgres:
image: postgres:9.4
volumes:
- db-data:/var/lib/db
volumes:
db-data:
... then doing docker-compose up creates a named volume for db-data. Is there a way to…

Bosh
- 8,138
- 11
- 51
- 77
0
votes
1 answer
MariaDB on Docker cannot write to named volume
I have been trying to get mariadb to work with named volumes, but I keep running into the problem that it cannot write to it.
My docker host
Docker Version: 20.10.3 on Synology DSM 7
My docker-compose.yml
---
version: "3.8"
services:
bitwarden:
…

Haraldinho
- 1
- 2
0
votes
1 answer
doing fs.unlink() in node to a file in a docker named volume, undeletes the object if a file with the same name is created
I'm having some weird behaviour with an application written in node.js running inside a docker container.
It sucessfully uploads and delete images using a react-admin (https://marmelab.com/react-admin/) front-end.
-rw-r--r-- 1 root root …

strtCoding
- 141
- 8