sqllyw
1
Hi,
I launch a ubuntu 18.04,
lxc launch ubuntu:18.04 first
inside the container
snap install docker
when running docker ps, got:
docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
How to make this run? Thanks,
bmullan
(Brian Mullan)
2
Read the section
“How do I run Docker inside LXD”
https://lxd.readthedocs.io/en/latest/
You have to enable nested containers.
sqllyw
3
Hi, thanks for the reply, it solves the problem, however, it did work if
apt install docker.io
it does not work if:
snap install docker
that’s good enough, thanks