Skip to content

Docker randomness

To restart, or not to restart

add this line to your dockerfile to make things keep track of itself.

HEALTHCHECK --interval=10s --timeout=5s --start-period=10s --retries=5 CMD doveadm service status 1>/dev/null && echo 'At your service, sir' || exit 1

Check if docker is set to start on bootup

systemctl list-unit-files | grep docker

Set docker to start on bootup

systemctl enable docker.service
Back to top