How to run docker daemon?
Opened this issue · 1 comments
shuvashish76 commented
Installed docker by
nix-env -iA nixpkgs.docker
When I type e.g. docker pull pihole/pihole
, it shows
Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
How do I start the docker daemon?
t184256 commented
On March 30, 2024 3:17:00 AM GMT+01:00, "§" ***@***.***> wrote:
Installed docker by
> nix-env -iA nixpkgs.docker
When I type e.g. `docker pull pihole/pihole`, it shows
> Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
How to start the docker daemon?
You cannot. Nix-on-droid is running as unprivileged user as every other Android app, plus does that inside proot. Docker requires root and features like user namespaces.
Podman could be simpler, but still requires user namespaces. In general, I just don't believe it's possible.