vgoklani
vgoklani

Reputation: 11746

Docker on mac: How to auto restart daemon processes after a machine reboot?

How does one auto-restart a docker-compose process after the machine reboots? For non-docker processes, I use supervisord on Ubuntu. Is there an equivalent on mac for docker-compose? What about on Ubuntu?

Upvotes: 1

Views: 178

Answers (1)

Derick Bailey
Derick Bailey

Reputation: 72868

for that, you'll want a docker swarm. you can create a single-node swarm, and docker swarm natively understands the docker-compose file

Upvotes: 1

Related Questions