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
1 answer

Feodra 32: Internet not working inside Docker Containers

I have a fresh installed Fedora 32, on which I have installed docker (from these instructions). [muhammadtaqi@muhammadtaqi-hp-probook-450-g5 ~]$ docker version Client: Version: 19.03.11 API version: 1.40 Go version: …
0
votes
1 answer

Varnish PURGE client.ip docker-compose

I'm trying to configure varnish for Magento2. Question: I'm unable to configure PURGE varnish cache. Here is my build: https://github.com/zhartaunik/magento2-docker Varnish settings:…
zhartaunik
  • 133
  • 1
  • 6
0
votes
1 answer

docker-compose + traefik - direct traffic to services outside the docker-compose network

I apologize in advance for the length - but this is interesting, especially for architects and traefik wizards. The Challange: The bottom line is, I'm hoping that there's a setup in which we can leverage traefiks dynamic config capability to: detect…
0
votes
0 answers

Docker volume content is not initialized

I've a base_image Dockerfile with a VOLUME /var/log Now I use the base_image in another Dockerfile as base for work_image and there is put some content in /var/log. But if I start a container with the work_image the volume directory /var/log is…
Markus
  • 101
0
votes
2 answers

Traefik error: invalid certificate, missing extension

I'm trying to setup Traefik for https, in docker. But I get the error: traefik | time="2020-07-10T11:33:46Z" level=error msg="Unable to obtain ACME certificate for domains "my.domain.com": unable to generate a certificate for the domains…
0
votes
1 answer

Nextcloud Nginx Reverse Proxy MIME Type problems

I am running Nextcloud in a container setup in FPM mode. The app container itself runs the php-fpm component, I have an additional container running nginx as web server. I am following this example very…
Daniel
  • 155
  • 9
0
votes
1 answer

How to stream some logs over TCP from rsyslog in Docker?

I need a very simple thing (for an integration test of a larger system, orchestrated by docker-compose): to setup a Debian based Docker image with rsyslog inside, so that when it is run, rsyslog will emit some syslog messages over TCP to another…
stf
  • 123
  • 1
  • 5
0
votes
1 answer

Using a dockerfile and/or docker-compose is there a way to run commands after a docker image launches?

I'm trying to configure a database container (PostgreSQL) and I want to configure some database settings by running SQL commands against the started instance. The RUN command in a dockerfile runs BEFORE the database launches. I guess I could create…
0
votes
0 answers

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) running on Docker openldap osixia/openldap:1.3.0

Problem When I run ldapsearch I get a connected status followed by an error Can't contact LDAP server (-1) ldapsearch -x -H ldap://localhost:636 -d 1 -ZZ Can't contact LDAP server…
Dave Russell
  • 1
  • 1
  • 2
0
votes
1 answer

Pushing to local docker registry gives connection reset error in githubactions

Pushing to local docker registry gives connection reset error It was this same situation but instead for github actions which appeared to have different issues. I also followed this: https://github.com/docker/for-mac/issues/3611 All of them resulted…
dtracers
  • 101
  • 2
0
votes
0 answers

Persistent storage failure or Authorization Failure after Mongocontainer restart using docker-compose rebuild after Machine restart

I have set up a mongo container connected to a nodejs app. First I do docker-compose up --build where I start mongo as a service without auth, i.e commented out. Then I login to the mongo terminal with docker exec -it mongoContainerID /bin/bash …
0
votes
0 answers

Detecting changes for 'docker-compose build' in ansible

Let's say an ansible task performs docker-compose pull, and reports the result like this: changed_when: "'... pull complete' in result.stderr |default('')" That works because stdout shows "... pull complete" only the first time - if the image…
lonix
  • 757
  • 9
  • 20
0
votes
1 answer

How to run setfacl inside a Docker Container

I have a bash file which uses ACLs to give permission to certain users. The bash file looks like sudo setfacl -m u:ChiefCommander:rwx /home/Army$i When i am building a Docker Container using this file, it says line 6 : setfacl : command not…
TaDev
  • 3
  • 2
0
votes
1 answer

How to get an IPv6 subnet to use in Docker?

I have an IPv6 IP on the guest server which running docker 301b:e0d0:401:0348:lk19:7:0:2 Configuration in the /etc/resolv.conf domain my.domain nameserver ::1 nameserver 301b:e0d0:401:0348:505:7:0:2 nameserver 301b:e0d0:401:0348:506:7:0:2 How to…
rawmain
  • 151
  • 3
  • 14
0
votes
0 answers

Recommend way of setting-up custom docker network?

I'm trying to setup transparent proxy network using container (docker) Client (C) Proxy (P1) Proxy (P2) 10.10.1.1/24 10.10.2.1/24 10.10.3.1/24 veth0 veth0 veth0 | | | …