mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
cmd/dockerd: add the link of "the documentation"
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
2b70006e3b
commit
1a67e9572e
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ func (cli *DaemonCli) start(opts *daemonOptions) (err error) {
|
||||||
|
|
||||||
// return human-friendly error before creating files
|
// return human-friendly error before creating files
|
||||||
if runtime.GOOS == "linux" && os.Geteuid() != 0 {
|
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/")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := setDefaultUmask(); err != nil {
|
if err := setDefaultUmask(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue