About 5,560 results
Open links in new tab
  1. How can I force Docker Compose to rebuild containers when …

    My problem is that when I run docker-compose up again, it is using the same image to create the container, regardless of changes to the docker file. How can I force it to take changes to the …

  2. Docker-compose containers can't connect to each other

    Sep 18, 2020 · 0 According to the Docker Compose Docs: Networking: By default Compose sets up a single network for your app. Each container for a service joins the default network and is …

  3. How to create replicas in docker-compose when `scale` is …

    According to docker-compose issue #5586, scale is deprecated. The replacement is deploy.replicas but that latter is not handled by docker-compose, only by docker stack implying …

  4. docker-compose invalid type, it should be a string

    docker-compose invalid type, it should be a string Ask Question Asked 8 years, 5 months ago Modified 1 year, 9 months ago

  5. docker-compose exec does not execute command even when …

    Dec 20, 2021 · I had a similar issue. In my case, docker-compose.yml passed some envvars through into the container. The shell from which I wanted to run docker-compose exec was …

  6. docker-compose healthcheck for rabbitMQ - DevOps Stack …

    Jul 29, 2020 · I'm trying to run rabbitMQ using docker-compose, but the service is always starting or unhealthy. rabbit is running fine, so I suspect there is something wrong with my health …

  7. When would I use docker-compose's "--service-ports" flag?

    To start the service to run in the background you use docker-compose -f <FILE> up --detach but if you wanted to look inside the container using a terminal, you would run docker-compose run …

  8. DNS resolution fails when container is started via docker-compose ...

    Oct 24, 2021 · It seems to me that, when starting the service via docker-compose, something is blocking communication from the container to mojangs servers, but not incoming connections …

  9. Setting the network using docker-compose - DevOps Stack …

    NETWORK=testnet docker-compose up This syntax is assuming a bash or similar shell. It defines an environment variable and runs the command with that variable exported. It's similar to (but …

  10. How do I do a dry run with docker-compose? - DevOps Stack …

    Sep 30, 2019 · I want to know what docker-compose is going to do before I do it. Is there a tool or flag which I can use to see what docker-compose would do without actually stopping …