Top "Docker-volume" questions

A docker data volume is a specially-designated directory within one or more containers that bypasses the Union File System.

How do I mount a host directory as a volume in docker compose

I have a development environment I'm dockerizing and I would like the ability to livereload my changes without having to …

docker docker-compose docker-volume
How to persist data in a dockerized postgres database using volumes

My docker compose file has three containers, web, nginx, and postgres. Postgres looks like this: postgres: container_name: postgres restart: …

postgresql docker docker-compose docker-volume
docker-compose: define mount for bind mount and managed mount

I'm using docker-compose for defining my service. In docker, there are two concepts for docker volume. Firstly is about bind …

docker docker-compose docker-volume
ERROR: In file './docker-compose.yml', volume must be a mapping not a string

Question: Why do I get this error? ERROR: In file './docker-compose.yml', volume 'mariavolume' must be a mapping not …

wordpress docker-compose docker-volume
Docker-compose named mounted volume

In order to keep track of the volumes used by docker-compose, I'd like to use named volumes. This works great …

docker-compose docker-volume
How to change the default location for "docker create volume" command?

When creating volumes through the volume API, that is, as the container volume pattern is now not necessarily the best …

docker docker-volume
docker run with --volume

I'm trying to dockerize some services for development on my machine and wondering how docker run --volume=.. works. For example, …

docker docker-volume
How to share data between host and containers using volumes in Docker Compose

I am playing with Docker Compose and volumes version: '2' services: php-apache: env_file: - dev_variables.env image: …

docker docker-compose docker-volume
Unsupported config option for services.volumes

Trying to setup docker for the first time and I'm running into a problem with volumes. I feel pretty confident …

docker docker-compose containers docker-volume
Add bind mount to Dockerfile just like volume

I want to add the bind mount to docker file just like I initialise a volume inside Dockefile. Is there …

docker containers docker-volume