Browse code

cmd/dockerd: add the link of "the documentation"

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit 1a67e9572e95507791465e78e503ec21a4a32781)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>

Akihiro Suda authored on 2021/08/27 14:08:03
Showing 1 changed files
... ...
@@ -114,7 +114,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
114 114
 
115 115
 	// return human-friendly error before creating files
116 116
 	if runtime.GOOS == "linux" && os.Geteuid() != 0 {
117
-		return fmt.Errorf("dockerd needs to be started with root. To see how to run dockerd in rootless mode with unprivileged user, see the documentation")
117
+		return fmt.Errorf("dockerd needs to be started with root privileges. To run dockerd in rootless mode as an unprivileged user, see https://docs.docker.com/go/rootless/")
118 118
 	}
119 119
 
120 120
 	system.InitLCOW(cli.Config.Experimental)