From d03e5d4e0ff266191487b6fd29f5057e4da348fd Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Sat, 13 Jun 2020 16:03:24 +0800 Subject: [PATCH] Hint on making docker autostart --- .../docs/setup/production-environment/container-runtimes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/setup/production-environment/container-runtimes.md b/content/en/docs/setup/production-environment/container-runtimes.md index 96525eab77..5c1a1fcde5 100644 --- a/content/en/docs/setup/production-environment/container-runtimes.md +++ b/content/en/docs/setup/production-environment/container-runtimes.md @@ -182,6 +182,12 @@ systemctl restart docker {{% /tab %}} {{< /tabs >}} +If you want the docker service to start on boot, run the following command: + +```shell +sudo systemctl enable docker +``` + Refer to the [official Docker installation guides](https://docs.docker.com/engine/installation/) for more information.