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
0
votes
0 answers

Docker Swarm's overlay network DNS consistently resolving hostnames to an IP address one number lower than a container's actual IP

I'm having a very odd reproducible issue with Docker Swarm. I'm attempting to deploy a Dgraph server cluster via Docker Swarm across four LXD containers. For context, Dgraph Zero is the control server and each Dgraph Alpha server does the lifting…
0
votes
1 answer

"docker-compose down" removes ip routes

On two different machines (a desktop and a server), the same docker-compose file behaves differently... On one machine docker-compose down seems to remove ip routes altogether that a following docker-compose up does not recreate. Transcript: After…
FLBzh
  • 53
  • 7
0
votes
1 answer

How to execute source command in docker-compose `command`?

I want to run source in docker-compose command , like command: ["source", "/etc/profile", ";", "/usr/local/tomcat/bin/catalina.sh", "run"] the error is ERROR: for pica-cat3 Cannot start service pica-cat3: b'OCI runtime create failed:…
lily
  • 165
  • 1
  • 7
0
votes
2 answers

Nginx reverse proxy to Transmission with Docker Compose

I'm trying to get Nginx working as a reverse proxy for the Transmission web client. Both are in separate Docker containers with Docker Compose. Ive read previous similar questions, but these have not worked for…
BalanceCat
  • 3
  • 1
  • 2
0
votes
1 answer

Cannot get Nginx image working inside Docker container

I cannot figure out what is the problem with the official nginx image for docker. I use it in docker-compose.yml file as indicated on the official image page: web: image: nginx volumes: -…
curveball
  • 101
  • 1
  • 4
0
votes
3 answers

Unable to start Docker based on Ubuntu or Debian

I tried to create my own container based on Ubuntu (and the same with Debian). I use docker-compose to manage my containers and I use dockerfile to create my container. When I use the docker-compose to create and start my container, I always had a…
weado
  • 1
0
votes
1 answer

How docker stack deploy works?

I am new to docker swarm and want to understand, how docker stack deploy works version: '3' services: web: image: nginx ports: - "80:80" redis: image: "redis:alpine" When I run this command, it works perfectly fine $ docker stack deploy -c…
Prashant Lakhera
  • 683
  • 1
  • 9
  • 25
0
votes
1 answer

sendtestemail Failing on GCE docker-compose

I'm setting up Weblate on Google Cloud Platform (GCE using Container-Optimized OS) and deploying via docker-compose using the HTTPS configuration. I've followed these tutorials: Weblate: Installing using Docker Google: Running Docker Compose with…
0
votes
1 answer

Get result of certbot run within docker within ansible

I'm running certbot within a docker container. I'm using ansible to start it via docker_compose. When the container is started, certbot takes a little while to do its thing, and then the container exits (with results printed to stdout and to a…
lonix
  • 757
  • 9
  • 20
0
votes
1 answer

phpMyAdmin tunnel to mySQL

How can I connect local phpMyAdmin via SSH tunnel to a remote mySQL dockerized container (example.com)? This is the local phpMyadmin in docker compose: pma: image: phpmyadmin/phpmyadmin container_name: pma environment: - PMA_ARBITRARY=1 …
Jumpa
  • 111
  • 1
  • 5
0
votes
1 answer

How to fix unable to connect to ldapserver - Authentication Finally Failed

I'm using openldap on opendistro for elasticsearch with docker I get this error: elasticsearch | [2019-07-31T12:48:42,590][WARN ][c.a.o.s.a.BackendRegistry] [28da1860f0c0] Authentication finally failed for cn=admin,dc=example,dc=com from…
0
votes
1 answer

What is the right way to put Nginx in front of a Node.js Docker app for AWS ECS deployment?

We have a Node.js/Express application that is deployed as Docker containers into AWS ECS. This app has a few static resources (CSS, JS), and I would like requests for these assets to bypass Node.js and be served directly by Nginx for performance…
Ralph
  • 105
  • 1
  • 5
0
votes
1 answer

'dig' between docker containers returns internal IP instead of external IP

First, sorry for the lenghty post, but I don't know how to boil it down to less than this. I have already cut a lot of unnecessary configuration stuff to end up with the basic info needed. I am setting up a dns recursor pair, ns1 and ns2, each on a…
Dokbua
  • 1,052
  • 1
  • 9
  • 18
0
votes
0 answers

exim4 is not passing messages on to mailman via LMTP

I am trying to set up mailman3 using exim4 to run my email lists. If I try sending an email to one of my lists, the email gets delivered to the exim4 instance, which then keeps trying to deliver the email to itself over and over again until…
GTF
  • 141
  • 3
0
votes
3 answers

MariaDB docker container on CentOS won't start

I have the following docker-compose: version: "2" services: webserver: image: orsolin/docker-php-5.3-apache environment: ALLOW_OVERRIDE: "true" HTTP_PROXY: "${HTTP_PROXY}" HTTPS_PROXY: "${HTTPS_PROXY}" NO_PROXY:…
Comforse
  • 117
  • 7