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

502 Bad Gateway/ failed (111: Connection refused) while connecting to upstream

I have the following docker-compose xml web: build: nginx/. container_name: nginx ports: - "80:80" links: - "openchain" restart: always wallet: build: wallet/. container_name: wallet ports: - "81:81" restart: always …
Kendall
  • 247
  • 1
  • 3
  • 13
2
votes
1 answer

NGINX server says File not found

Am trying to learn the microservice architecture by building out services using lumen and docker. I have folder structure like…
MrFoh
  • 145
  • 2
  • 2
  • 10
2
votes
2 answers

Docker compose doesn't get picked up by reverse proxy

I have a docker-compose that creates a container with a http server that doesn't get picked up by jwilder's nginx reverse proxy but it works wen instantiated by hand. version: '2' services: mongo: image: tutum/mongodb expose: …
2
votes
1 answer

docker container not writing to mounted volume on host

I am having issue writing to the mounted volume on host filesystem from docker container Is there some special thing i have to do when building the container to make the container write data to the mounted volume on host for persistency? I have seen…
uberrebu
  • 493
  • 5
  • 15
  • 32
2
votes
1 answer

Lets encrypt SSL certificate in Docker container via nginx-proxy

currently I am using nginx-proxy to route my subdomains to different docker containers. Now, I would like to add a SSL certifcate to my Owncloud container but I am failing to set it up correctly. What I have done: Getting a certificate via…
caiuspb
  • 159
  • 1
  • 6
2
votes
1 answer

Getting "Can't create/write to file '/var/lib/mysql/is_writable'" using docker (inside vagrant on OS X)

I am trying to use docker-compose/docker inside a vagrant machine hosted on OS X. Running 'docker-compose up' always fails with mysqld: Can't create/write to file '/var/lib/mysql/is_writable' (Errcode: 13 - Permission denied) I can manually create…
nielsbot
  • 223
  • 1
  • 3
  • 9
2
votes
2 answers

How can I prevent Docker Compose from copying saved volumes into a new container?

How can I prevent docker-compose up from copying saved volumes from the previous session into a container? In effect, I want Docker Compose to behave like docker run which discards the contents of private volumes when its container exits.
Derek Mahar
  • 801
  • 2
  • 8
  • 15
2
votes
1 answer

Docker mount command (mount failed: Unknown error -1)

I'm trying to migrate my existing application to Docker, it mounts an image but is getting an error: mount failed: Unknown error -1 These are the steps: Create an empty floppy image of 1.44 MB as root: $ /sbin/mkfs.msdos -C / 1440 Mount the…
gogasca
  • 313
  • 2
  • 15
2
votes
0 answers

WSL2 Dockerized Nginx not available in browser, but ping respond

I have a Windows 10 Home on my computer with WSL2. In WSL I run Docker with this docker-compose.yml file: version: "3" services: httpd: image: 'nginx:stable-alpine' ports: - '80:80' volumes: - ./:/var/www/html -…
2
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
  • 43
  • 4
2
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
  • 121
  • 4
2
votes
1 answer

Docker-compose can't connect via socks-proxy to SSH remote host

I'm trying to deploy containers using docker-compose to remote server via SSH. Remote server SSH can be accessed only via SOCKS proxy. I created ~/.ssh/config with valid SOCKS configuration for that: Host HostName
g4s8
  • 121
  • 3
2
votes
1 answer

Docker compose - disable default gateway route

Is it possible to prevent docker from defining default route when using docker-compose yaml file? If my docker-compose.yaml defines network ipam with default driver and any subnet, seams like docker (or docker compose) automatically assigns default…
Boris
  • 173
  • 10
2
votes
1 answer

Docker-compose IP address for Database

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 $ cat requirements.txt in this files the below dependencies had to be…
user977828
  • 205
  • 4
  • 15
2
votes
1 answer

Can't access Atlassian Confluence via IP with Docker deployment

I'm deploying Jira, Confluence, and Bitbucket in a Docker environment. The configuration is fairly standard. Using Atlassian images, host volumes for application data, etc. Jira and Bitbucket are working fine and can be accessed via : on…
thedude19
  • 121
  • 3