Merge pull request #42843 from AkihiroSuda/cherrypick-42791

[20.10 backport] cmd/dockerd: add the link of "the documentation"
This commit is contained in:
Sebastiaan van Stijn 2021-10-04 21:10:52 +02:00 committed by GitHub
commit 9cd3585bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
// return human-friendly error before creating files
if runtime.GOOS == "linux" && os.Geteuid() != 0 {
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")
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/")
}
system.InitLCOW(cli.Config.Experimental)