How to auto restart a Docker container after a reboot in CoreOS?

前端 未结 6 1693
滥情空心
滥情空心 2021-01-30 21:20

Assuming the Docker daemon is restarted automatically by whatever init.d or systemd like process when the OS is restarted, what is the preferred way to restart one or more Docke

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 21:49

    CoreOS uses systemd to manage long running services:

    • https://coreos.com/os/docs/latest/getting-started-with-systemd.html

提交回复
热议问题