volumes Questions
4
Solved
I have a volume of 250 gb initially in one of my ec2 instance. I have increased the volume to 300gb. I could able to see that 300gb using the below command
But when i do df-h command i could not ...
Seagoing asked 2/6, 2020 at 6:47
4
Solved
I have a Dockerfile where I copy an existing directory (with content) to the container which works fine:
Dockerfile
FROM php:7.0-apache
COPY Frontend/ /var/www/html/aw3somevideo/
COPY Frontend/ /...
Tuft asked 27/8, 2016 at 1:13
4
Solved
I am trying to connect a folder in windows to a container folder. This is for a .NET app that needs to read files in a folder. In a normal docker container, with docker-compose, the app works witho...
Bomarc asked 7/2, 2022 at 12:31
4
I want to update some container. For testing, I want to create a copy of the corresponding volume. Set up a new container for this new volume.
Is this as easy as doing cp -r volumeOld volumeNew?
Or...
3
Solved
Summary
Given that:
The storage driver docker users is ZFS;
Only docker creates legacy datasets;
Bash:
$ docker ps -a | wc -l
16
$ docker volume ls | wc -l
12
$ zfs list | grep legacy | wc ...
2
To replace the volumes_from: directive from version 2 (for helpyio), I tried this, but something went wrong.
version: "3"
services:
frontend:
...
volumes:
- myVolume:/var/www:ro
backend:
.....
Domela asked 26/11, 2019 at 15:40
1
Solved
Suppose I have repository on Gitlab and following deploying scheme:
Setup docker and gitlab-runner with docker executor on host server.
In .gitlab-ci.yml setup docker-compose to build and up my se...
Gastelum asked 19/6, 2022 at 21:43
2
Solved
Actually, I run my containers like this, for example :
docker run -v /nexus-data:/nexus-data sonatype/nexus3
^
After reading the documentation, I discover volumes that are completely managed by...
0
I have the following logic in my Github Actions:
Checkout a different repository
Inside that repository run docker command
Checkout my current repository of the workflow
Run code on the running do...
Trichromatic asked 29/4, 2022 at 16:51
5
I'm trying to build a data container for my application in Docker. I run this command to expose some volumes:
docker run --name svenv.nl-data -v /etc/environment -v /etc/ssl/certs -v /var/lib/mysq...
3
Solved
Device vs Partition vs File System vs Volume: how do these concepts relate to each other, accurately
How do these concepts relate to each other, from a Java developer standpoint?
My question: Could someone provide explanations or some links for simple and accurate / generally accepted definitions...
Uniocular asked 26/6, 2014 at 11:59
3
Solved
To use storage inside Kubernetes PODs I can use volumes and persistent volumes. While the volumes like emptyDir are ephemeral, I could use hostPath and many other cloud based volume plugins which w...
Impervious asked 25/5, 2021 at 4:29
4
Solved
This question is coming from an issue on the Docker's repository:
https://github.com/docker/compose/issues/942
I can't figure it out how to create a data container (no process running) with docker...
Ethbun asked 2/10, 2015 at 13:46
2
I updated from Windows 7 to Windows 10 few weeks ago : I was using Docker Toolbox/Virtual Box to work with Docker and I read Docker for Windows was recommended (newest application) but it is a pain...
4
Solved
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 ...
Lucknow asked 4/8, 2017 at 16:52
1
Solved
I am having a config file as a secret in kubernetes and I want to mount it into a specific location inside the container. The problem is that the volume that is created inside the container is a fo...
Clevey asked 20/1, 2021 at 20:40
6
Solved
I have successfully been able to share folders between a docker container with volumes using
docker run -v /host/path:/container/path ...
But my question is what the difference between this and ...
Grassgreen asked 14/8, 2014 at 15:14
3
Solved
I have setup two standalone docker containers, one runs a webserver another one runs a mysql for it.
Right now I was attempting to have it working with docker-compose. All is nice and it runs well,...
Chalkboard asked 10/2, 2020 at 10:37
2
Solved
I want to deploy some services into my server and all of them will use nginx as web server, every project has it own .conf file and I want to share all of then with nginx container. I tried to use ...
Southerland asked 27/6, 2020 at 23:50
1
I have read that there is a significant hit to performance when mounting shared volumes on windows. How does this compared to only having say the postgres DB inside of a docker volume (not shared w...
Outweigh asked 21/6, 2020 at 1:6
2
Solved
I use docker and docker compose to package scientific tools into easily/universally executable modules. One example is a docker that packages a rather complicated python library into a container th...
Electromagnet asked 11/7, 2019 at 20:3
1
Solved
I am moving our web application to docker-compose deployment (Django, DRF, AngularJS).
Docker looks solid now and things are going well.
I want to:
confirm with you that I am following best pra...
Mckinzie asked 14/4, 2020 at 7:25
2
Solved
I'm using persistent volume claim to store data in container:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: test-pvc
labels:
type: amazonEBS
spec:
accessModes:
- ReadWriteOnce
r...
Lamppost asked 17/10, 2018 at 6:1
1
Solved
I'm pretty comfortable using Docker recently, typically to test websites to make sure they run properly on servers before I deploy them.
Typically, I mount my local directory to the locally running...
2
Solved
In the Docker Compose documentation, here, you have the following example related to the volumes section of docker-compose.yml files:
volumes:
# (1) Just specify a path and let the Engine create ...
Luht asked 19/2, 2018 at 20:25
1 Next >
© 2022 - 2025 — McMap. All rights reserved.