docker compose works only once
See original GitHub issueWhen I start kestra with docker compose once with docker-compose up
, it all works.
Then I stop it with CTRL+D
, and I want to rerun it running again docker-compose up
and it never restarts.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to run a command once in Docker compose
I notice you created a "data-only container" to attach your volume to. Since docker 1.9, docker has volume management, including naming volumes.
Read more >Control startup and shutdown order in Compose
Compose always starts and stops containers in dependency order, where dependencies are determined by depends_on , links , volumes_from , and network_mode: " ......
Read more >docker compose up - Docker Documentation
The docker compose up command aggregates the output of each container (like docker compose logs --follow does). When the command exits, all containers...
Read more >Frequently asked questions - Docker Documentation
The docker compose run command is for running “one-off” or “adhoc” tasks. It requires the service name you want to run and only...
Read more >docker compose run - Docker Documentation
Runs a one-time command against a service. the following command starts the web service and runs bash as its command:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok will look space this this error happen on the kafka side. Seems that the connection with kafka failed and must have some error on kafka side
I think it should work now. Just cleanup your local volume before retrying: