Top "Docker-compose" questions

Compose is a tool for defining and running complex applications with Docker.

Docker - How can run the psql command in the postgres container?

I would like to use the psql in the postgres image in order to run some queries on the database. …

postgresql docker docker-compose
how do you manage secret values with docker-compose v3.1?

Version 3.1 of the docker-compose.yml specification introduces support for secrets. I tried this: version: '3.1' services: a: image: tutum/…

docker docker-compose docker-secrets
How to open/run YML compose file?

How can I open/run a YML compose file on my computer? I've installed Docker for Windows and Docker tools …

docker docker-compose docker-for-windows
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 …

docker docker-compose docker-registry
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 …

docker docker-compose gitlab-ci
What is the difference between docker and docker-compose

docker and docker-compose seem to be interacting with the same dockerFile, what is the difference between the two tools?

docker docker-compose
What is the difference between `docker-compose build` and `docker build`?

What is the difference between docker-compose build and docker build? Suppose in a dockerized project path there is a docker-compose.…

docker docker-compose dockerfile
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 docker-compose
Docker-Compose file has yaml.scanner.ScannerError

compose.yml file, which looks like this: version: '2' services: discovery-microservice: build: discovery-microservice context: /discovery-microservice/target/docker dockerfile: Dockerfile …

docker yaml docker-compose dockerfile
Docker Cannot link to a non running container

I need to create Rails and Mysql containers with docker-compose. When I try to create links between containers with docker-compose …

mysql ruby-on-rails docker docker-compose