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
2 answers

How to disable Docker Network Isolation?

I use gitlab, gitlab-runner, sonarqube, nexus, ... with docker compose to test build chains before implementing them on my company's servers. These servers use the same network bridge. This worked fine on my old ubuntu, but since I'm using debian,…
Balaïtous
  • 101
  • 2
0
votes
0 answers

Docker-compose erratic parameters reading

I'm trying to build a container stack for an application and using the .env file so as to pass the various parameters to be used during the build process. Stack Config: Docker version 20.10.14, build a224086d Docker Compose version v2.5.1 …
Raymond
  • 111
  • 5
0
votes
0 answers

nginx working fine in localhost but show 404 on server

i have a laravel based project that i have to host on digital ocean using docker. docker is working fine on localhost but shows 404 on server but phpmyadmin working fine on server as well which is running on 8080 port. Here's my docker-compose.yml …
rootShiv
  • 101
  • 1
0
votes
0 answers

Why does api.nuget.org not resolve within my docker-compose devcontainer?

I am running Windows Subsystem for Linux v2 with Ubuntu 20.04. Within my WSL I am running a VS Code dev container based on the docker-from-docker-compose container. From within my dev container I cannot resolve api.nuget.org, but everywhere else it…
0
votes
1 answer

Docker: error could not translate host name to address: Name or service not known in psql

We have the following Dockerfile: FROM debian:stable-slim ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get full-upgrade -y && apt-get install -y --no-install-recommends \ systemd \ procps \ apt-utils \ …
Munchkin
  • 113
  • 1
  • 5
0
votes
0 answers

Can you get the grep command to EXIT 1 if query successful?

I'm trying to formulate a docker healthcheck that restarts the container if the word FATAL in found in a certain log file. Something similar to this except with grep. test: ["CMD-SHELL", "curl -f http://localhost || exit 1"] Something like: test:…
Frank Barcenas
  • 595
  • 4
  • 17
0
votes
1 answer

mariadb-client cannot connect to db throwing "RSA Encryption not supported"

I have a docker-compose with a 'db' and 'web' containers. The db is a mysql:8.0 image, and the web is a python:3.9-slim. If I try to connect to the MySQL server inside the db container, it works. But not if I try it inside the web container, from…
0
votes
0 answers

ebtables not working in docker

Hi I am trying to run ebtables within docker however none of the ebtables rules are being hit. For example - pay attention that counters are not increased though ARP is sent and succeeds [root@injector /]# ebtables -A OUTPUT -p ARP -j…
Boris
  • 173
  • 10
0
votes
1 answer

docker containaer promiscuous mode partially working

I have strange virtual (docker bridges) networking condition I have two dockers connected to the same bridge via docker-compose. One docker is "probe" and one is "injector". Injector uses tcpreplay to replay capture and "probe" should receive it via…
Boris
  • 173
  • 10
0
votes
1 answer

Secondary IP not pingable from internet - Ubuntu 20.04 using netplan on Hetzner server

Let me start be saying I'm not an network expert. That being said, I'd need some help here as I'm breaking my head on this issue for two days now. I have several questions but will focus only on one specific one. I ordered a hetzner root server and…
0
votes
0 answers

Docker-compose: how to use Nginx Reverse Proxy with routing

I am using docker-compose with nginx reverse proxy to run it on server with different paths: server_ip/backend server_ip /frontend should work on port 80. I'm testing it with a docker-compose using nginx as the web container name and phpmyadmin as…
0
votes
0 answers

How to access hosts local network from a docker container?

I have two machines running in one local physical network in the office. One of them is exposed to world as a http web server (nginx on docker), the other one is not exposed to the world, it exposes a private service with API that should only be…
0
votes
1 answer

`docker-compose.override.yml` `restart: no`: containers still start up after reboot

In my base configuration I have a few services with restart: always and in my override configuration I have those services with restart: "no", but when I reboot the host the containers are started up again. I'm expecting the containers to still be…
Brady Dean
  • 101
  • 2
0
votes
0 answers

booksonic-air docker container Connection reset by peer

I've just installed booksonic-air through docker compose and when running curl http://127.0.0.1:4040 i get Connection reset by peer error. Docker container looks like listening to 0.0.0.0 address so I should be able to access from the host OS. Does…
peris
  • 488
  • 2
  • 9
  • 25
0
votes
0 answers

Docker container eating space over time in my EC2

I've installed only Hasura and a Postgres database (yes yes, I'll change it) in 1 docker container each. The containers themselves don't use much space, but my overall storage space is rapidly being used up each passing day! I have no idea why, I'm…