docker-volume Questions

4

Solved

What are the differences and use-cases between: The docker volume create command The docker run -v /path:/host_path The VOLUME entry in the Dockerfile file Specifically, I don't understand what h...
Handcar asked 15/1, 2016 at 11:3

2

Solved

How can I persist the flow.xml.gz file in nifi docker container? I am using a docker-compose file, it is giving me errors such as not finding certain files. Didi you encounter the same issue? Thank...
Unsatisfactory asked 8/5, 2019 at 11:0

1

I'm looking for some way to mount a S3 Storage Bucket (for example) as Docker volume in an Elastic Beanstalk Docker Container. Since i can't change the application code, i have to configure that p...

2

I'm trying to use a named volume mounted in a Docker container, but get a Permission denied error when trying to create a file in the mounted folder. So I'm trying to use mount options when creatin...
Adapa asked 21/7, 2018 at 13:37

3

Solved

Docker's documentation states that volumes can be "migrated" - which I'm assuming means that I should be able to move a volume from one host to another host. (More than happy to be corrected on thi...
Viscacha asked 16/8, 2017 at 13:8

3

My docker-compose.yml: solr: image: solr:8.6.2 container_name: myproject-solr ports: - "8983:8983" volumes: - ./data/solr:/var/solr/data networks: static-network: ipv4_address: 1...
Mabelmabelle asked 21/9, 2020 at 14:8

6

This is what I see when I am in the container created by docker-compose: mysql> SELECT user FROM mysql.user; +------+ | user | +------+ | root | +------+ 1 row in set (0.00 sec) root@541e4d6861...
Toadeater asked 31/12, 2016 at 6:19

4

Solved

I'd like to access and edit files in my Kubernetes PersistentVolume on my local computer (macOS), but I cannot understand where to find those files! I'm pointing my hostPath to /tmp/wordpress-volu...
Octofoil asked 13/2, 2019 at 17:47

4

Solved

I'm pretty new with Docker and i wanted to map the node_modules folder on my computer (for debugging purpose). This is my docker-compose.yml web: build: . ports: - "3000:3000" links: - db e...
Kern asked 17/7, 2016 at 21:15

5

I have a simple image that runs a jar file. That jar file inside the image needs a special configuration file in order to run. In the location with the docker-compose.yml I have a folder named &quo...

2

I have this simple docker-compose.yaml (image from danielemaddaluno/self-service-password): version: "3" services: ltb: image: danielemaddaluno/self-service-password ports: - 8080:80 ...
Troll asked 20/3, 2021 at 17:6

9

Question: Why do I get this error? ERROR: In file './docker-compose.yml', volume 'mariavolume' must be a mapping not a string. My docker-compose file is almost identical to this one: https://docs...
Gibbeon asked 26/12, 2016 at 17:37

1

Solved

I am developing a Node.js app that uses Postgres as its database. I write a "docker-compose.yml" file for Node.js & Postgres. I create pgdata directory, Then I write my Dockerfile to ...
Alexine asked 22/2, 2021 at 11:23

4

I am using Docker Apache airflow VERSION 1.9.0-2 (https://github.com/puckel/docker-airflow). The scheduler produces a significant amount of logs, and the filesystem will quickly run out of space,...

1

I'm using named volumes to persist data on Host machine in the cloud. I want to take backup of these volumes present in the docker environment so that I can reuse them on critical incidents. Almost...
Sternutatory asked 10/2, 2021 at 15:26

3

On Windows 10, using Docker desktop version 2.1.0.5. I have been successfully using the image microsoft/mssql-server-linux:2017-latest, but since it is deprecated, I am changing it to mcr.microsof...
Mountie asked 23/1, 2020 at 19:44

2

Solved

I'm running Docker 1.11 on OS X and I'm trying to figure out where my local volumes are being written. I created a Docker volume by running docker volume create --name mysql. I then ran docker volu...
Freemason asked 24/4, 2016 at 23:25

2

I have a problem mounting a host machine volume to a docker image. I've added a folder to docker File sharing settings, but it doesn't get any effect. What do I have to do to solve the problem? Fo...
Chilton asked 11/10, 2019 at 13:2

4

Solved

I'm using docker-compose for defining my service. In docker, there are two concepts for docker volume. Firstly is about bind mount: mount on host storage. docker run -d --name web-app -v $HOST/loc...
Avionics asked 23/12, 2016 at 10:20

3

I wanted to create containers for tomcat, documentum content server and documentum xplore by using a single compose file. Am facing issues due to the volumes mentioned in the docker-compose.yml fil...
Amaras asked 19/7, 2018 at 6:55

2

Below is the Dockerfile: FROM golang:1.14.10 MAINTAINER xyz COPY ~/go/bin/product-api /go/bin/product-api COPY ~/go/bin/swagger /go/bin/swagger ENTRYPOINT ["/go/bin/product-api"]...
Fouquiertinville asked 18/10, 2020 at 5:45

4

Solved

When creating volumes through the volume API, that is, as the container volume pattern is now not necessarily the best practice anymore: # docker volume inspect test-data [ { "Name": "test-data"...
Aseptic asked 15/3, 2016 at 14:47

3

Solved

I am confused on how the named data-volume (not data container) should be used. I have a named data volume app_src that is mounted to /usr/src/app using docker compose file. However, after m...
Fastness asked 18/7, 2016 at 15:54

1

It seems this question has already been asked by another poster, but there was no answer. I have more information on the matter, so I'm re-asking the same question - but with much additional materi...
Transpontine asked 27/2, 2018 at 20:46

7

Solved

I'm building a Rust program in Docker (rust:1.33.0). Every time code changes, it re-compiles (good), which also re-downloads all dependencies (bad). I thought I could cache dependencies by adding...
Cryometer asked 1/3, 2019 at 21:59

© 2022 - 2024 — McMap. All rights reserved.