Add Liunx user to docker.service systemd unit (debian)

Hi,

I would like to add the Linux user to docker.service systemd unit.

for example:
[Service]
User=pi
ExecStart=/usr/lib/docker/ibrahim-plugin
workingDirectory=/usr/lib/docker

[Install]
WantedBy=multi-user.target

when I add User=pi
i get error message from the docker daemon.

any recommandation please ?

Many thansk
Ibrahim

The Docker daemon must run as root.

Thank you for your response. I know that the docker daemon must be root to run it.

I need to build docker. Socket file particular user