Browse code

Merge pull request #42843 from AkihiroSuda/cherrypick-42791

[20.10 backport] cmd/dockerd: add the link of "the documentation"

Sebastiaan van Stijn authored on 2021/10/05 04:10:52
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)