About 641,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  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 Error bind: address already in use - Stack Overflow

    Jun 22, 2016 · Run docker-compose ps. If port is in use by another container, stop it with docker-compose stop <service-name-in-compose-file> or remove it by replacing stop with rm.

  6. devcontainer docker-compose best practice - Stack Overflow

    May 2, 2024 · To build for deployment, use docker compose -f docker-compose.yml. { "name": "Existing Docker Compose (Extend)", // Update the 'dockerComposeFile' list if you have more …

  7. 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 …

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

    Jun 8, 2016 · 281 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 …

  9. What is the difference between docker and docker-compose

    Jun 22, 2016 · The docker cli is used when managing individual containers on a docker engine. It is the client command line to access the docker daemon api. The docker-compose cli can be …

  10. 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 …