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.

529 questions
3
votes
3 answers

How to setup IPv6 with docker-compose

I am using Ubuntu 18.04 on DigitalOcean, with IPv6 turned on: PUBLIC IPV6 ADDRESS: xxxx:xxxx:2:d0::216f:3001 PUBLIC IPV6 GATEWAY: xxxx:xxxx:2:d0::1 CONFIGURABLE ADDRESS RANGE: xxxx:xxxx:2:d0::216f:3000 - xxxx:xxxx:2:d0::216f:300f According to this…
ロジャー
  • 203
  • 3
  • 8
3
votes
2 answers

Which tools simplify administration tasks with Docker containers?

Context: My task is to administer a virtual machine with about 5 web services for a small workgroup. I plan to run all services in Docker containers. An additional nginx Docker container should redirect requests to the different services. Problem: I…
thando
  • 135
  • 5
3
votes
1 answer

How to move docker-compose containers stack to another host

I have a project running on a host using docker compose. Can anyone advise me on how can I move the docker-compose containers to another host?
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,963
  • 15
  • 50
  • 88
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
  • 249
  • 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
  • 183
  • 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
  • 31
  • 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,213
  • 2
  • 9
  • 8
3
votes
2 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
  • 7
3
votes
1 answer

Docker bridge network shadows IP of SSH client, how to recover gracefully?

We're running a RHEL 7 VM with Docker to host a couple of internal services. Last time I ran docker-compose up to spin up a new Docker container, I lost my SSH connection to the server and could also not re-establish it. A colleague was able to…
3
votes
1 answer

Error: could not determine PostgreSQL version from '11.7'

I found a Django project and failed to get it running in Docker container in the following way: git clone https://github.com/hotdogee/django-blast.git I have the following Dockerfile: FROM python:2 ENV PYTHONUNBUFFERED=1 WORKDIR /code COPY…
user977828
  • 205
  • 4
  • 15
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
  • 2
3
votes
1 answer

Nginx Docker container always restarting

My current docker-compose.yml looks like this: version: '3' services: testsite-nginx: image: nginx:alpine container_name: test_site_nginx restart: unless-stopped tty: true volumes: -…
Jaquarh
  • 171
  • 1
  • 8