Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [docker-compose]

docker compose up : to start the container with docker-compose.yml docker compose up -d : to start the container with docker-compose.yml and run in background - docker-compose down : to shutdown the above container docker compose -f docker-compose.databases.yml : to run a specific docker-compose file - docker-compose -f docker-compose.databases.yml down

1 vote
0 answers
20 views

I have been having this issue for months now and haven't gotten to the bottom of it. I'm curious what others think and haven't found the answer. I am running a server with the following: Ubuntu ...
rwarner's user avatar
  • 121
0 votes
0 answers
19 views

EDIT Seems like there is a question as to why I have this setup. Per company policy I'm developing on a remote machine. The machine is Amazon Linux 2, which is not upgradable. We will not be switching ...
flashburn's user avatar
  • 189
1 vote
1 answer
84 views

Could someone please explain why I should not backup my named docker volumes by simply backing up (copying) the "/var/lib/docker/volumes" directory recursively? This seems much easier than ...
u628898's user avatar
  • 51
0 votes
0 answers
202 views

I'm working from a Docker container within a Proxmox LXC as part of a home lab setup with Wireguard and Qbittorrent. I've gotten through many other issues but whenever I launch it, I get this error: ...
DisplayThis67's user avatar
3 votes
1 answer
125 views

I am given a very long docker-compose.xml file, with tens of containers inside. But it is not well configured, so I have to try it out: after docker-compose up -d, I observe some missing ...
Tiina's user avatar
  • 3,441
1 vote
1 answer
138 views

I would like to route traffic from a container to a local host port. I can not use the port exposure command line option for docker run, because the port is already in use. Conceptually, with the ...
edition's user avatar
  • 121
1 vote
1 answer
118 views

I have the barebones example SvelteKit app & a Traefik reverse proxy both running inside Docker containers. When accessing the SK app directly (i.e. without going through Traefik first), the page ...
N.D.'s user avatar
  • 31
0 votes
2 answers
166 views

I am using docker compose to pull the image and run the container. During this process I am calling a shell script to encrypt DB password and using export command I export to a variable. e.g. export ...
AAPJ's user avatar
  • 1
0 votes
0 answers
114 views

I am running a Mailu Mailserver via Docker, configured with a docker Compose file using Portainer and an upstream unbound for DNS. All but one container are healthy when i start the stack. The rspamd ...
flightofthepenguin's user avatar
0 votes
0 answers
220 views

I have a docker-compose with severall apps, and traefik to do the routing and handle SSL/TSL certificates. I changed DNS supplier from Google to OVH, and then it didn't work. I thought I just had to ...
derOtterDieb's user avatar
0 votes
0 answers
51 views

i want to have multiple instances of the same service hosted with docker compose & traefik. My relevant service-label-config for traefik in docker-compose.yaml of the service is: labels: traefik....
christian's user avatar
1 vote
0 answers
41 views

Hello Docker Community, I’m facing an issue when updating a shared postgres:16 image used by multiple containers. Here’s the problem: Scenario: Multiple containers rely on the same postgres:16 image. ...
BENAISSI Abdelkader's user avatar
0 votes
0 answers
204 views

Sorry if this is a duplicate question, but I've been searching for a while, and can't find a solution for my use case. Tried AI bots... that was just a huge waste of time and energy. I have a Ubuntu ...
ZolaKt's user avatar
  • 101
0 votes
0 answers
161 views

My goal is to have all Transmission's network traffic go through my VPN, except the web interface which would only be accessible locally. I have a first Docker container, for the VPN: name: mullvad-...
Jean-Claude's user avatar
1 vote
1 answer
890 views

This was working yesterday, but after a restart of the underlying hardware, has stopped working. My docker-compose.yml; version: '3.8' services: gluetun: image: qmcgaw/gluetun ...
Joe.S's user avatar
  • 21
0 votes
1 answer
496 views

How can we limit the CPU and memory used by Docker Engine and Docker Compose like I do in my Ubuntu dev machine, which has Docker Desktop?
matiasmasca's user avatar
0 votes
0 answers
76 views

I try to run pi-hole via docker compose using Docker Desktop on Mac OS X. I managed to get it working as expected using the following docker-compose.yml services: pihole: image: pihole/pihole:...
asmaier's user avatar
  • 171
1 vote
1 answer
2k views

I'm relatively new to using Docker and Docker Compose, and I've run into an issue that I can't figure out how to resolve. Any help would be greatly appreciated! Here’s my setup: Container 1: Hosts ...
user avatar
3 votes
1 answer
990 views

I am facing some weird problem, I suspect, I am missing something but not able to find what is wrong. I spent quite a bit of time but not able to find what the problem is. I have windows 10 with wsl2 ...
kr.pradeep's user avatar
0 votes
1 answer
136 views

On my local network, 192.168.1.0/24, I have a docker compose file that starts up a container on my Ubuntu localhost. This container has an app that tries to connect (TCP) to a remote server on a ...
Ender's user avatar
  • 105
3 votes
1 answer
285 views

In my home lab I have containers spread across a few devices (mainly a server and a NAS). I have Docker containers running on the server whose main storage is on the NAS, and I have named cifs volumes ...
keyboardr's user avatar
  • 131
1 vote
1 answer
2k views

I have managed to set up VaultWarden that is only accessible on a local LAN with a lets encrypt SSL certificate using Caddy. Caddy, VaultWarden and other services run as Docker containers that run on ...
SneakyShrike's user avatar
0 votes
1 answer
71 views

I have a Linux server with NGINX where I deploy docker-compose projects. On the server I'm running docker compose with a service exposed on port 12345 (an example). docker-compose.yml: name: poc-...
Alex 75's user avatar
  • 113
4 votes
1 answer
2k views

I may be a bit confused, but what I want to do is have a healthceck that runs outside the container, for instance on the host. I'm not sure why docker itself can't do the curling to the container, to ...
nycynik's user avatar
  • 205
1 vote
0 answers
40 views

docker-compose.yaml services: mailserver: image: ghcr.io/docker-mailserver/docker-mailserver:latest container_name: mailserver hostname: dms.example.com ports: - "25:25&...
bilogic's user avatar
  • 279
2 votes
1 answer
456 views

I’m trying to build a docker container that installs react and its dependencies and then replicates those installations on my machine, so I don’t have to install the dependencies every time I want to ...
Lucas Macedo's user avatar
1 vote
0 answers
364 views

I have a question regarding ownership mapping of folders via the Docker-Compose file. Shortly to my problem: I'm using Docker on my RaspiPi 4 and wanted to enter the world of paperless office (...
Traenger 's user avatar
0 votes
0 answers
811 views

This is the exact and complete error message: man: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied ...
kzi's user avatar
  • 1
0 votes
0 answers
165 views

I'm running a docker-compose stack on Windows (Docker Desktop). The primary service in this stack communicates with an external server to advertise the presence of the child process. When I first ...
user7711581's user avatar
2 votes
1 answer
2k views

I'm relatively new to Docker and trying to learn self-hosting to host some small projects. I use a reasonably new PaaS tool called Dokploy to manage my containers. I have been trying to run Directus (...
Ere Männistö's user avatar
0 votes
1 answer
452 views

How does it work the MariaDB .mysql_history file from the official MariaDB Docker image? It's not really something I want in production. But it might be handy in a developer setup. Also, although it ...
V. Bozz's user avatar
  • 364
0 votes
1 answer
257 views

I have created a MongoDB docker container with the following compose.yaml --- services: mongodb: image: "docker.io/library/mongo:7.0.11" container_name: mongodb restart: unless-...
crackpot's user avatar
  • 101
0 votes
1 answer
195 views

When I deploy Docker Compose services, I found that the Docker containers are all on one bridged linux segment; this much is expected. However, sometimes I have had problems connecting from one linux ...
Mike Pennington's user avatar
0 votes
1 answer
449 views

Overview I need a Docker Compose zabbix host to ping a host on a containerlab docker network. These two Docker networks run under a linux Docker host machine as below... This information comes from ...
c1lab's user avatar
  • 1
0 votes
1 answer
193 views

I want to setup nextcloud in my home server with the following (in order of importance): Nextcloud is fast on a web browser and phone Nextcloud is encrypted with trusted SSL certificates, but without ...
whatever's user avatar
0 votes
1 answer
1k views

I am working on a Web-App which needs access to a QNAP-NAS file system to edit and create directories and files inside it. In order to mount the NFS to the docker container, I used the following ...
JoanAcero's user avatar
0 votes
1 answer
522 views

I was trying to test out Traefik Proxy, so I added Traefik labels to an existing Compose file I had for OpenSpeedTest. version: '3.3' services: speedtest: restart: unless-stopped ...
LittleBit's user avatar
-1 votes
1 answer
240 views

I have 3 services in my compose.yaml, 2 web apps and nginx proxy manager, on ec2 if I call sudo docker-compose up it will eventually freeze and the instance will become unresponsive ( I have to reboot ...
Omu's user avatar
  • 855
0 votes
1 answer
983 views

I am using minio/minio:latest image in my docker-compose.yaml file, and I want the minio docker container to have a user other than root. after checking the /usr/bin/docker-entrypoint.sh shipped with ...
Ouss's user avatar
  • 111
0 votes
0 answers
115 views

As a hobby project I'm trying to build a "mini internet" from the ground up, including hosts, routers, dhcp, dns, tls, the works, but I'm having trouble finding a platform that is as "...
Daffy's user avatar
  • 309
0 votes
1 answer
199 views

Output of docker compose ps command in docker compose version v2.20.x and earlier was short, since "COMMAND" column was truncated: $ sudo apt-get install 'docker-compose-plugin=2.20.*' [...] ...
AntonioK's user avatar
  • 482
1 vote
0 answers
139 views

As someone new to self-hosting, I embarked on what I thought would be a relatively simple project: setting up Monica CRM using Docker. However, I've encountered an unexpected challenge and am seeking ...
Xevi's user avatar
  • 11
1 vote
1 answer
2k views

Im setting up Ansible AWX on my Windows 10 machine using docker-compose. When running the install playbook ansible-playbook -i inventory install.yml I get the error below. Im able to see the login ...
eia92's user avatar
  • 63
0 votes
2 answers
3k views

Is there some way to connect to a container, running inside WSL 2, using the keyword localhost instead of 127.0.0.1:port? To give more context, I have a Docker Compose to run a Microsoft SQL Server ...
Gabriel Ferreira's user avatar
1 vote
0 answers
2k views

I have a Docker compose setup that consists of two containers (though I will be adding more once I get past my current problem). I am running it on a Linux Mint machine with Docker 24.0.7 and Docker ...
me--'s user avatar
  • 355
0 votes
1 answer
2k views

I changed docker's data root on my system because the var partition was beginning to fill up, following this tutorial but substituting --data-root instead of -g. After making the switch, one of my ...
Alexis Purslane's user avatar
0 votes
1 answer
2k views

I have installed docker this way https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository └─$ docker --version Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04.1 then trying to ...
Ekaterina Ivanova iceja.net's user avatar
2 votes
1 answer
548 views

After several days of messing around with Docker, I have not found a solution to my problem. In short, I have tried to add cron to php:8.1-apache-bullseye and pass it a file with the task that I want ...
Francisco IA Lover's user avatar
1 vote
0 answers
127 views

I have created the following script in powershell for two objectives: read from an .env file the setup of the local urls of my development environment and deploy them to the Windows hosts file. take ...
Francisco IA Lover's user avatar
1 vote
1 answer
2k views

I was using Docker CLI when working with Linux. But recently I reinstalled my system so wanted to try Desktop version: enabled KVM, made sure file sharing thing is working, initialized pass thing, ...
Arzybek's user avatar
  • 313