32,398 questions
-1
votes
0
answers
33
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
I’m having a problem and I can’t find a solution.
I have deployed a Django backend and a React frontend using Docker.
I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
-3
votes
0
answers
48
views
Error in PostgreSQL when running Rails and PostgreSQL using Docker Compose [closed]
I'm running Docker Compose on Ubuntu 24, and when accessing PostgreSQL from within the backend container, I get the following error:
root@60128607c5ab:/backend# psql -p 5433 -U postgres
psql: error: ...
3
votes
2
answers
1k
views
After os updates I get `Error response from daemon: client version 1.42 is too old` [closed]
After apt update && apt upgrade I get docker compose issues:
DOCKER_API_VERSION=1.52 docker compose ps
# has expected result
docker compose ps
Error response from daemon: client version 1....
-2
votes
0
answers
59
views
minio signature does not match golang api [closed]
I encountered a SignatureDoesNotMatch issue when switching MinIO from Docker Run to Docker Compose. I'm using PresignedUploadURLs to upload files from the frontend (React/Axios).
I've tried all the ...
-1
votes
1
answer
42
views
Nginx with Docker not resolving domain redirection [closed]
I am trying to set up a home lab with HTTPS using Nginx.
I have made the self signed certs and for this demo I am using the local domain production.local.
My docker compose file for homer is
services:
...
0
votes
0
answers
37
views
Application running in Docker containers the application restarted using Amazon RDS Aurora MySQL for the database and experiencing out-of-memory issue
UncaughtException: Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap ...
0
votes
1
answer
44
views
How do you write a docker compose file so that it recognizes a Redis config file and a custom username/password
How do you write a docker compose file so that it recognizes a Redis config file and a custom username/password (I am trying to use an ACL file, see below) that is not hardcoded into the Redis-stack-...
-2
votes
0
answers
68
views
Creating a stack in portainer with docker compose in R
I would need how to create the yaml to deploy the stack making sure it has alll these libraries and that it uses these ports
Libraries:
1.1- openxlsx
1.2- xml2
1.3- rdflib
1.4- jsonld
1.5- jsonlite
1....
0
votes
0
answers
23
views
Connect node app running in docker to mongodb running in another container [duplicate]
I've a docker-compose, that declares 2 services, a mongo bd and a python scripts. If I run this docker compose up it works fine.
services:
mongo:
image: mongo:7.0
container_name: mongo_db
...
-1
votes
0
answers
65
views
Spring boot reading parameters from AWS parameter store without credentials on application.yml
I'm attempting to read a parameter from aws parameter store in my spring boot application.
I succeeded on my local machine but I want to make this function without having to supply my access-key and ...
1
vote
2
answers
93
views
Docker containers fail to stop with “permission denied” when using Snap-installed Docker [closed]
I'm using docker and docker-compose on Ubuntu. I’ve been struggling for a while with this recurring issue when trying to stop my Docker Compose stack:
(base) frc@ubuntu-linux:\~/code-folder$ docker ...
1157
votes
28
answers
1.5m
views
How can I delete all local Docker images? [closed]
I recently started using Docker and never realized that I should use docker-compose down instead of ctrl-c or docker-compose stop to get rid of my experiments. I now have a large number of unneeded ...
2
votes
0
answers
57
views
connect MinIO server from another machine: boto3 503 and mc “Unable to initialize alias”
I run MinIO in Docker on Machine A and want to access it from Machine B (via Wi-Fi). boto3 returns 503 on HeadBucket, and the mc alias set fails. How should I configure MinIO and clients?
docker yml ...
607
votes
27
answers
924k
views
Docker: How to clear the logs properly for a Docker container? [closed]
I use docker logs [container-name] to see the logs of a specific container.
Is there an elegant way to clear these logs?
4
votes
1
answer
120
views
Load Balancing with Docker Compose and Nginx doesn't distribute traffic across replicas
I'm using Docker Compose to run a simple HTTP server on multiple replicas to test Load Balancing capabilities of Docker Compose and Nginx.
There are 2 services in the docker-compose.yml file:
services:...
1
vote
1
answer
212
views
Changing the owner of .venv created by uv inside Docker
I have a Django app build by uv running inside Docker. I mount the local filesystem as a volume in the container using Docker Compose so that edits to the source code locally trigger reloading of the ...
619
votes
22
answers
931k
views
How to mount a single file in a volume
I am trying to dockerize a PHP application. In the dockerfile, I download the archive, extract it, etc.
Everything works fine. However, if a new version gets released and I update the dockerfile, I ...
491
votes
28
answers
625k
views
Is it safe to clean docker/overlay2/
I got some docker containers running on AWS EC2, the /var/lib/docker/overlay2 folder grows very fast in disk size.
I'm wondering if it is safe to delete its content?
or if docker has some kind of ...
0
votes
1
answer
62
views
Cannot find ts export with an alias'd, shared volume in a docker container
I am making a websocket webgame. I am trying to standardize data going over the websocket via some shared "Action" objects. I am using docker volumes to share a "shared" directory ...
1
vote
2
answers
261
views
Symfony in Docker: %env(csv:...)% makes framework.trusted_headers crash with “got array” error
When using Symfony inside a container, %env(csv:...)% seems to break when populating a config option that expects an array. For example, in config/packages/framework.yaml:
# see https://symfony.com/...
344
votes
43
answers
1.1m
views
Docker Error bind: address already in use
When I run docker-compose up in my Docker project it fails with the following message:
Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use
netstat -pna | grep 3000
...
706
votes
15
answers
1.3m
views
How to rebuild docker container in docker-compose.yml? [closed]
There are scope of services which are defined in docker-compose.yml. These services have been started. I need to rebuild only one of these and start it without up other services.
I run the following ...
0
votes
0
answers
39
views
How can I use the version from package.json (e.g. %npm_package_version%) in docker-compose.yml without generating a .env file?
I'm working on a Node.js project (a Discord bot), and I want the version from package.json to be automatically inserted into docker-compose.yml as a Docker image tag.
Something like this:
services:
...
355
votes
21
answers
317k
views
Docker "ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network" [closed]
I have a directory apkmirror-scraper-compose with the following structure:
.
├── docker-compose.yml
├── privoxy
│ ├── config
│ └── Dockerfile
├── scraper
│ ├── Dockerfile
│ ├── newnym.py
│ └...
543
votes
21
answers
1.1m
views
How can I use environment variables in docker-compose?
I would like to be able to use environment variables inside docker-compose.yml, with values passed in at the time of docker-compose up. This is the example.
I am doing this today with a basic docker ...