Questions tagged [volumes]
322 questions
0
votes
1 answer
How to achieve persistence with Volumes on Windows Containers?
In our company we are trying to migrate an application to Docker with Windows Containers. The application uses a PostgreSQL database.
We are able to get the application running inside the Container. However, whenever we stop the container and start…

Antonio Maciel
- 1
- 1
0
votes
0 answers
Creating new docker-compose for testing with new volume
I have dev-docker-compose.yml with several backends and several databases like postgres, redis etc...
Now I want to create test-docker-compose.yml with changed name for the services
For example I had:
postgres:
image: postgres
restart:…

illdo
- 41
- 1
- 7
0
votes
1 answer
How do we import a docker data volume in Windows?
I need to copy docker's data volume from Mac to Windows. I've already got the tgz file with volume from Mac, then I create an alpine container, and check /var/lib/docker folder on Windows 10 as I did it on Mac.
What I see is that /var/lib folder is…

Vitalii
- 10,091
- 18
- 83
- 151
0
votes
1 answer
GCE volume mounts as compared to Kubernetes volume mounts
Kubernetes has pretty extensive volume and volume mounting support (many different volume types, subpaths, mounting single files).
Can the same be achieved with GCE VMs?
Update:
I have some Kubernetes workflow that uses NFS and GCE PD…

Ark-kun
- 6,358
- 2
- 34
- 70
0
votes
2 answers
Docker PGAdmin Container persient config
I am new to docker. So what I want to have is a pgadmin container which I can pull and have always my configs and connections up to date. I was not really sure how to do that, but can I have a Volume which is alsways shared for example on my Windows…

Matthias
- 485
- 7
- 21
0
votes
2 answers
Docker compose MySQL-volumes invalid invalid specification
I am using service 3 and below is mycode,
I tried to add the var- COMPOSE_CONVERT_WINDOWS_PATHS: 1 in environment
it still get the error:
ERROR: for db-on-docker-ms_mysql-dev_1 Cannot create container for service mysql-dev: invalid volume…

W Kenny
- 1,855
- 22
- 33
0
votes
1 answer
aws create a machine with mounted volume
I am using aws ec2 with ubuntu machine
I would like to create a volume, and every time I create a machine I need it to be attached and mounted to the machine.
Note, this is a single existing volume, and will be mounted to one machine at a time…

thebeancounter
- 4,261
- 8
- 61
- 109
0
votes
0 answers
Using docker swarm with named volumes
So how do I get my src files into a named volume as I would with a bound volume in development?

Lee
- 479
- 1
- 4
- 18
0
votes
1 answer
New container gets data from the referenced image.. then why need volume?
I want to understand the use case of volumes.
eg: i created a docker image using httpd:alipine as my base image. In this images dockerfile i have line COPY ./ui /usr/local/apache2/htdocs.
Whenever i create a new container using this image the images…

Archit02
- 21
- 3
0
votes
2 answers
how to use applescript calulate volume size list?
I need to figure out how much is on a LOT of hard drives-over 150 USB and thunderbolt drives. I thought I could build an AppleScript or an automator action to get the total size of a volume, and subtract the "available." Ideally, I could start the…

Alex
- 1
0
votes
2 answers
Docker initializing volume exiting container
I am running scripts from:
https://www.tutorialspoint.com/docker/docker_storage.htm > Data Volumes
When I want to perform such script:
docker run -d -v /home/docker/demo:/nexus-data --name="volume" sonatype/nexus3
I see on container list that…

Wicia
- 575
- 3
- 9
- 28
0
votes
2 answers
How to give full permissions to a shared volume in kubernetes
I have a container which is using shared volume with host. I want to give it a full permissions. At present, it is:
ls -l
drwxr-xr-x 8 user user 4096 Aug 9 04:47 Data
But I want it to be:
ls -l
drwxrwxrwx 8 user user 4096 Aug 9 04:47 Data
I have…

S Andrew
- 5,592
- 27
- 115
- 237
0
votes
1 answer
Attach volume to windows ec2 instance using cloud formation script
We are using using cloud formation script to create and setup a windows instance for our application. Instance is created using AWS::AutoScaling::LaunchConfiguration.
Now we have a requirement to attach a previously created volume to this instance…

AsteriK
- 39
- 1
- 9
0
votes
1 answer
docker-compose volumes version 3 syntax
version 3 of docker compose allows volumes to be specified. Although I'm looking to use it in a way I'm not sure if it works, can someone provide some insight, here is what I am looking for:
We have a lot of apps, so I'd like to specify the volumes…

Kevin Danikowski
- 4,620
- 6
- 41
- 75
0
votes
2 answers
docker-compose volumes: When are they mounted in the container?
I had assumed that docker-compose volumes are mounted before the container's service is started. Is this the case?
I ask, since I've got a docker-compose.yml that, amongst other things, fires up a parse-server container, and mounts a host directory…

Darren Black
- 1,030
- 1
- 9
- 28