Questions tagged [docker-volumes]

Docker volumes are the preferred mechanism for persisting data generated by and used by Docker containers.

5 questions
2
votes
1 answer

What is the risk of directly accessing /var/lib/docker/volumes/ data?

Over the years I have been using docker for self-hosting, I never really cared about mounted volumes because I did not see real advantages vs mounted folders (I know about advantages related to permissions, etc. but that has not been a deal breaker…
WoJ
  • 3,875
1
vote
1 answer

Docker bind not working for external disk

I'm curently setup a jellyfin in my local infrastructure, on a ubuntu 24.04 server. Here is my docker compose file : services: jellyfin: image: jellyfin/jellyfin:2024102105-amd64 container_name: jellyfin network_mode: 'host' …
0
votes
0 answers

SQL Server on Docker: unable to create db snapshots

I run SQL Server instance on Docker, using the command: docker run -d --rm -e "TZ=Europe/Rome" -e MSSQL_COLLATION=Latin1_General_CI_AS --name sql_server -e 'encrypt=disable' -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=Administrator1' -p 1433:1433 -v…
0
votes
0 answers

How to migrate docker volume from one host to another host

I want to migrate a volume from old host to a new host after the old host crashed, so I run the container in the new host using docker compose and the app creates a brand new volume in /var/lib/docker/volumes/db_mysql/_data but I have already the a…
0
votes
0 answers

Permissions for docker bind mount container running wordpress

I am running a Wordpress instance in a docker container behind and Nginx proxy. I use docker compose to deploy / update the application. This is hosted in AWS on linux box with the 2023 AWS Linux AMI. I have a bind mount configured for the…