Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
42 views

Docker container can't access named volume [closed]

I'm spinning up a service with via docker compose and in it, create a named volume, only specifying the container path, not the host path. I'm not bind mounting an existing directory. See my (...
milkyuniverse's user avatar
0 votes
0 answers
16 views

Why my docker container does not see a NFS mountpoint defined as a volume?

I am setting up my Jellyfin server on docker. I correctly mounted my NFS on /net_storage/media on my host machine, and I am able to see all the files. Then, i created my docker compose file: --- ...
Mudu 93's user avatar
  • 11
-1 votes
1 answer
54 views

Docker volume is cleared on every restart via docker-compose on ubuntu [closed]

Docker volume is cleared on every restart via docker-compose on ubuntu server, but on my pc everything works properly. Volume always contains data, even after restart. How to solve this? Thanks. My ...
silenzzz's user avatar
  • 123
1 vote
0 answers
21 views

Unable to create file using Spark on Client Mode in airflow-spark-docker

Getting this error in airflow: org.apache.spark.sql.delta.DeltaIOException: [DELTA_CANNOT_CREATE_LOG_PATH] Cannot create file:/opt/bitnami/spark/my_lakehouse/staging/customers/_delta_log but if I ...
Aniketh Deshpande's user avatar
1 vote
2 answers
55 views

How can I get pre-existing data from a mysql database into a mysql docker container?

I am new to using Docker and I want to place an existing project in a set of Docker containers so I can run the project on other platforms/devices. I currently have a Flask app connected to a mysql ...
irishcomputing's user avatar
0 votes
0 answers
22 views

Docker Compose Watch populates <none> images [duplicate]

I'm writing an application using ASP.NET Core 8 and SQL Server. I use docker-compose watch feature to rebuild my image every time there's a source code change Here's my Dockerfile for .NET app FROM ...
Arsen Aghajanyan's user avatar
0 votes
0 answers
30 views

Docker bind mount or volume

I am trying to use docker compose to share a directory between my container and my host. I understand that I cant use a normal bind mount, as bind mounts copy the directory from the host into the ...
confusedandsad's user avatar
0 votes
0 answers
21 views

Use a shared folder in the Compose

I want to create a docker container with a Dockerfile, Compose.yaml and a .env file. In the Dockerfile I create a image based on python, the Dockerfile: FROM python:3 RUN mkdir -p /share_data/ COPY ...
Monetillo's user avatar
1 vote
3 answers
135 views

Docker compose volume binding doesn't work on windows

I have created the below docker-compose file in my app: version: '3.9' services: MongoDB: ... backend: ... frontend: stdin_open: true tty: true build: ./frontend image:...
Behnam's user avatar
  • 1,045
0 votes
1 answer
107 views

Set volume owner / permission in docker compose

Minimal example of compose.yaml services: my_service: image: alpine volumes: - my_vol:/my_vol command: [sh, -c, 'adduser -S -s /bin/sh my_user && su - ...
Vito De Tullio's user avatar
0 votes
1 answer
78 views

Can docker compose volume create the entire path as non-root user?

I created a user with uid 1000 in the Dockerfile and created a directory /app, changing the owner of /app to uid 1000. Spring Boot also starts using the user with uid 1000. RUN adduser --uid 1000 -D ...
Eric's user avatar
  • 15
0 votes
1 answer
66 views

Docker volumes not persisting data between container restarts in Docker Compose

I'm encountering an issue with Docker volumes not persisting data between container restarts when using Docker Compose. Here's a breakdown of my setup and the problem I'm facing: Docker Compose ...
Arjun Parmar's user avatar
0 votes
0 answers
34 views

docker volume mapping file read only

I have a docker-compose file that maps a volume to the host. When the mapping is a folder mapping I can write to the files in that folder from the container. When I change the mapping to a specific ...
Myles McDonnell's user avatar
0 votes
0 answers
44 views

Rails log files in Docker volume are not being updated inside Docker container

I am trying to set up promtail as part of my docker-compose setup to collect my Rails logs. The Rails app is running outside Docker, directly in the host machine through: rails s This is the promtail ...
fguillen's user avatar
  • 38.1k
0 votes
1 answer
44 views

Docker volume --mount command is not working

I am trying to create a docker volume of mongo that can be used even after a container is deleted. The volume works with the command docker run -d --name mongo-local -p 27017:27017 -v mongo-local:/...
Sandeep M's user avatar
  • 320

15 30 50 per page
1
2 3 4 5
42