tagged [docker-compose]
Operation of the mkdir command with dockerfile
Operation of the mkdir command with dockerfile I cannot create a directory with the mkdir command in a container with dockerfile. My Dockerfile file is simply ; In this way I created a simple php: fpm...
- Modified
- 11 Oct at 07:2
How to update existing images with docker-compose?
How to update existing images with docker-compose? I have multiple microservices and I am using docker-compose for development deployments. When there are some changes in the microservices code base, ...
- Modified
- 20 Oct at 08:55
How to configure docker-compose.yml to up a container as root
How to configure docker-compose.yml to up a container as root I'm trying to connect two containers with a docker-compose-yml, but it isn't working. This is my docker-compose.yml file: ``` version: "3"...
- Modified
- 16 Jul at 10:8
docker-compose, run a script after container has started?
docker-compose, run a script after container has started? I have a service that I am bringing up through Rancher via docker-compose. The issue I am running into is that I need to set a password after ...
- Modified
- 3 Dec at 06:3
exited with code 0 docker
exited with code 0 docker I'm trying to launch container using docker-compose services.But unfortunetly, . Containers is build thanks to a repository which is from a .tar.gz archive. This archive is a...
- Modified
- 3 Jul at 11:45
Provide static IP to docker containers via docker-compose
Provide static IP to docker containers via docker-compose I'm trying to provide static IP address to containers. I understand that I have to create a custom network. I create it and the bridge interfa...
- Modified
- 21 Aug at 08:32
Copying files to a container with Docker Compose
Copying files to a container with Docker Compose I have a `Dockerfile` where I copy an existing directory (with content) to the container which works fine: [](https://i.stack.imgur.com/AXF1
- Modified
- 8 Nov at 18:34
Docker-compose check if mysql connection is ready
Docker-compose check if mysql connection is ready I am trying to make sure that my app container does not run migrations / start until the db container is started and READY TO accept connections. So I...
- Modified
- 2 Mar at 22:48
How to use host network for docker compose?
How to use host network for docker compose? I want to use docker compose with the host network. I have a docker container that access a local REST api. Usually I run which can access the host REST api...
- Modified
- 13 Jun at 15:22
Failed to solve with frontend Dockerfile
Failed to solve with frontend Dockerfile I am pretty new to Docker and am trying to build a Docker image with plain HTML, but I have this error message, saying > failed to solve with frontend dockerfi...
- Modified
- 25 Sep at 21:35
Could not connect to redis Instance at hostname:6379 in docker-compose
Could not connect to redis Instance at hostname:6379 in docker-compose I am starting a dotnet core app and redis using docker-compose. Redis hostname is set to container name used in the docker networ...
- Modified
- 6 Feb at 05:15
How to create a DB for MongoDB container on start up?
How to create a DB for MongoDB container on start up? I am working with Docker and I have a stack with PHP, MySQL, Apache and Redis. I need to add MongoDB now so I was checking the [Dockerfile](https:...
- Modified
- 20 Mar at 19:57
Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use
Error starting userland proxy: listen tcp 0.0.0.0:3306: bind: address already in use I have to make `Laravel` app and to deliver a Dockerfile, but I'm really stuck with this. Before that I had a night...
- Modified
- 8 Oct at 11:33
ERROR: In file './docker-compose.yml', service 'volumes' must be a mapping not an array
ERROR: In file './docker-compose.yml', service 'volumes' must be a mapping not an array My docker-compose.yml looks like the below and I am trying to follow the compose file from the docker registry d...
- Modified
- 25 Aug at 03:55
Docker ERROR: Error processing tar file(exit status 1): unexpected EOF
Docker ERROR: Error processing tar file(exit status 1): unexpected EOF I needed space and executed: `docker rmi $(docker images -f "dangling=true" -q)` Since then I can't with docker-compose: `docker-...
- Modified
- 14 Mar at 11:11
How do you perform Django database migrations when using Docker-Compose?
How do you perform Django database migrations when using Docker-Compose? I have set up a Docker Django/PostgreSQL app closely following the [Django Quick Start instructions on the Docker site](https:/...
- Modified
- 8 Apr at 22:7
How to install PHP composer inside a docker container
How to install PHP composer inside a docker container I try to work out a way to create a dev environment using docker and laravel. I have the following dockerfile: ``` FROM php:7.1.3-fpm RUN apt-get ...
- Modified
- 20 Jul at 13:24
How to get docker-compose to always re-create containers from fresh images?
How to get docker-compose to always re-create containers from fresh images? My docker images are built on a Jenkins CI server and are pushed to our private Docker Registry. My goal is to provision env...
- Modified
- 6 Feb at 22:14
Docker Compose - Share named volume between multiple containers
Docker Compose - Share named volume between multiple containers I'm using docker-compose and v3. I'm trying to mount a volume in docker: `./appdata:/appdata` I'd like to have this as a volume and then...
- Modified
- 22 Sep at 10:0
Docker-Compose can't connect to Docker Daemon
Docker-Compose can't connect to Docker Daemon I am getting an error message saying I can't connect to the docker daemon. I have looked into other people's answers who have had similar issues but it ha...
- Modified
- 8 Aug at 15:8
How to mount a single file in a volume
How to mount a single file in a volume I am trying to dockerize a PHP application. In the dockerfile, I download the archive, extract it, etc. Everything works fine. However, if a new version gets rel...
- Modified
- 6 Oct at 00:19
Docker Compose keep container running
Docker Compose keep container running I want to start a service with docker-compose and keep the container running so I can get its IP-address via 'docker inspect'. However, the container always exits...
- Modified
- 31 Dec at 12:13
Docker Networking - nginx: [emerg] host not found in upstream
Docker Networking - nginx: [emerg] host not found in upstream I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links the...
- Modified
- 10 Nov at 20:37
Docker: applications works fine via docker-compose up, but how to run it via Visual Studio and debug?
Docker: applications works fine via docker-compose up, but how to run it via Visual Studio and debug? I have several projects and they must be running in seperate containers, and I have some shared li...
- Modified
- 31 Oct at 04:58
Docker-Compose persistent data MySQL
Docker-Compose persistent data MySQL I can't seem to get MySQL data to persist if I run `$ docker-compose down` with the following `.yml` ``` version: '2' services: # other services data: containe...
- Modified
- 23 May at 12:10