question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker compose works only once

See original GitHub issue

When 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:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tchiotludocommented, Nov 16, 2021

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

0reactions
tchiotludocommented, Dec 1, 2021

I think it should work now. Just cleanup your local volume before retrying:

docker volume rm kestra_elasticsearch-data kestra_kafka-data kestra_kestra-data kestra_zookeeper-data kestra_zookeeper-log
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found