Relative Content

Tag Archive for docker-compose

What is docker compose waiting for?

When I start up my docker compose project all services quickly jump to the ‘status’ Started which seems normal (docker compose up -d --build). However I have one service which stays in Waiting forever.
However when I look at the output of docker ps it shows the service in the Up state (like all the others) and I can also look that the logs and they show what I expect.

docker-compose fails on port binding

I am attempting to take a working django production web app and containerize it. Every time it fails binding a port. When I check the port docker already owns it. When I do a sudo docker-compose down, the port is release. I am suspicious it is in my compose file as I use nginx and uwsgi. Here is my yml file:

how do you handle an error of docker compose build

how do you handle an error of docker compose build that basically just shows you the error code below: ime=”2024-07-29T16:56:29+01:00″ level=warning msg=”The “AIRFLOW_UID” variable is not set. Defaulting to a blank string.” time=”2024-07-

docker-compose escaping single quotes not working

docker-compose entrypoint tag escaping single quotes not working..
I tried the code to escape single quotes in docker-docker entrypoint tag. This works from my command line but doesn’t work from docker-compose entrypoint…

No services in docker-compose are configured to start at boot but some always do

I have two development environments that regularly run projects that use docker-compose. I always gracefully stop the docker-compose process before shutting down the system. One laptop has suddenly begun automatically starting a particular container under a particular docker-compose configuration at boot-up. The other system starts like ten containers (a couple of containers in like five different docker-compose configurations), and has been doing this for a year.