Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Docker Compose is a tool for defining and running multi-container Docker applications.

581 questions
3
votes
0 answers

Should I use systemd or docker-compose to keep Docker containers running on my systems?

We are talking about Docker containers as sysdig, consul, fluentd, mesos-slave, etc. that we are running on almost all machines. Currently we are using Ubuntu's Upstart and CoreOS's Fleetctl. We're migrating to Ubuntu 18.04 LTS and currently…
ujjain
  • 3,983
  • 16
  • 53
  • 91
3
votes
0 answers

Relative path of build context in docker-compose configuration is not resolved relative to the compose yml file location

I have a docker-compose project with container configurations in subdirectories like . ├── a.yml └── b └── b.yml a.yml is version: "2.2" services: a: build: context: ./ b.yml is version: "2.2" services: b: build: …
Martin Ahrer
  • 279
  • 1
  • 3
  • 12
3
votes
0 answers

The strangest docker fault I've ever seen

I am using Docker with docker-mailserver on one of my servers. Very strange trouble appeared after migrating some services from legacy Debian Jessie server to Ubuntu 16.04 LTS server. Parameters of servers: Legacy: someuser@legacyserver:~$ uname…
3
votes
1 answer

How to specify the log tag from docker compose on google logging?

In my docker compose file, I can specify the logging driver as a "fluentd" and by default, it pushes the log to the listener of google-fluentd on port 24224 I can see the log appear on the logging page along with the tag as the container Id.…
Thai Tran
  • 193
  • 11
3
votes
1 answer

Docker image TCP buffer size

I have a problem with a debian container in a cluster model. I'm starting a process in 3 containers that needs to communicate each other but during the process of initial communication an exception associated to the TCP buffer size its…
gleX
  • 131
  • 1
  • 5
3
votes
1 answer

docker & portainer - use it to create container

I still try to understand some things with docker helped with portainer but i can't find tuto for: 1 - Persistent data: I would like to run Mariadb container with persistent database. So i would like to add a volume "db" with a mountpoint in my…
jbo
  • 41
  • 1
  • 5
3
votes
1 answer

Using Ansible docker_service module to deploy service to swarm

I'm trying to deploy a Docker service into swarm but always ending up with running container on my localhost (the one I use as a docker swarm manager) and no service Here's my setup: I have 3 node Docker (v. 1.12.1) swarm that includes one host…
Bostone
  • 1,283
  • 2
  • 9
  • 8
3
votes
1 answer

Why is systemd-oom the owner of my podman container volume?

I'm attemping to run Listmonk using the provided Docker method, but I'm encountering an issue related to systemd-oom that I am struggling to understand. I've mapped the /var/lib/postgresql/data volume in the db service to my local /srv/listmonk/data…
soulprovidr
  • 133
  • 4
3
votes
1 answer

Why is a moby/buildkit:buildx-stable-1 getting created when I try to build leading to a container name conflict?

I have the following docker-compose... version: "3.8" services: proxy: container_name: proxy extra_hosts: - "host.docker.internal:host-gateway" build: context: proxy dockerfile: Dockerfile volumes: -…
Jackie
  • 171
  • 9
3
votes
0 answers

Docker compose permission denied when PHP-FPM trying to create directory

I have this docker-compose I'm experimenting with. Im using fastCGI from Nginx to run the script. The docker-compose.yml: version: "3" services: psqldb: build: context: . dockerfile: docker/psql/Dockerfile args: …
3
votes
3 answers

configure minio in docker to use https

This is my docker-compose.yml: version: '3.7' services: minio: image: minio/minio command: server -C /etc/minio --address ":9000" --console-address ":9001" /data ports: - "9000:9000" - "9001:9001" environment: …
Felix D.
  • 133
  • 2
  • 7
3
votes
1 answer

connect() failed (111: Connection refused) while connecting to upstream with static website

My goal is to have 2 docker containers: nginx container (based on nginx:latest) to work as reverse proxy container with static website (based on nginx:alpine) Later I will add 1+ .net core backend services (not important for now). Currently when I…
Goran
  • 133
  • 1
  • 1
  • 3
3
votes
1 answer

Docker Compose Port Not Exposed?

I have a simple Python based web server running in a container set up with docker compose that exposes port 8080. When I docker-compose up the services it reports the ports are exposed but the port is not exposed externally. What should I look at…
evoelise
  • 53
  • 1
  • 5
3
votes
0 answers

Nginx Docker Container stops working irregularly

The server: I use Nginx as a ingress-proxy for my server. Nginx runs within a Docker container. docker-compose.yml: nginx_ingress: image: nginx:latest ports: - "80:80" - "443:443" networks: front-tier: {} …
nulldevops
  • 131
  • 1
  • 4
3
votes
0 answers

Keycloak login error destination_invalid

I'm currently trying to set up keycloak to provide single sign on to a nextcloud and gitlab instance. All three services are running inside a docker compose network with an nginx server as proxy to each of them. I can browse to keycloak, nextcloud…
Shelling
  • 131
  • 3