Harold L. Brown Harold L. Brown - 1 year ago 134
Linux Question

Error when starting Docker daemon with user other than root (permission denied)

I want to start the Docker daemon with a user other than root.

I'm trying to start it with

docker daemon --host=unix:///var/run/docker.sock --host=tcp:// --storage-driver=vfs

Sadly this error occurs:

FATA[0000] Error starting daemon: open /var/run/docker.pid: permission

When I look into the directory
I can't see any file named

Starting the service as
works without problems.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download