About 827,000 results
Open links in new tab
  1. How to use locally built image in docker-compose file correctly?

    Dec 24, 2021 · 3 I have multiple services that needs to use the same locally built image. So I created a helper service which would build the image and all other services would depend on …

  2. Difference between "docker compose" and "docker-compose"

    Mar 7, 2021 · The docker compose (with a space) is a newer project to migrate compose to Go with the rest of the docker project. This is the v2 branch of the docker/compose repo. It's been …

  3. How to use host network for docker compose? - Stack Overflow

    Jun 13, 2019 · I want to use docker compose with the host network. I have a docker container that access a local REST api. Usually I run docker run --net=host -p 18080:8080 -t -i containera …

  4. How can I use environment variables in docker-compose?

    I would like to be able to use environment variables inside docker-compose.yml, with values passed in at the time of docker-compose up. This is the example. I am doing this today with a …

  5. docker compose inside docker in a docker - Stack Overflow

    I am pretty new to docker and was following the documentation found here, trying deploy several containers inside dind using docker-compose 1.14.0 I get the following docker run -v …

  6. How does docker-compose.yml and Dockerfile work together?

    Mar 16, 2021 · From my understanding, Dockerfile is like the config/recipe for creating the image, while docker-compose is used to easily create multiple containers which may have …

  7. how to get docker-compose to use the latest image from repository

    Jun 8, 2016 · 283 I don't know what I'm doing wrong, but I simply cannot get docker-compose up to use the latest image from our registry without first removing the old containers from the …

  8. Why is Docker installed but not Docker Compose?

    Instead of using this, find the correct package which you need to install to get access to the new Version 2 (Go) CLI. On apt based systems this is probably docker-compose-v2. Note that …

  9. How to pass arguments within docker-compose? - Stack Overflow

    May 26, 2018 · 103 Now docker-compose supports variable substitution. Compose uses the variable values from the shell environment in which docker-compose is run. For example, …

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

    I struggled with how to manage secrets in docker compose, and ended up writing a little service to do it: dcsm. It lets you store secrets in a file encrypted with age symmetric encryption.