How do I simply pull and run hello-world
?
nicholas@mordor:~$
nicholas@mordor:~$
nicholas@mordor:~$ snap list docker
Name Version Rev Tracking Publisher Notes
docker 20.10.14 1779 latest/stable canonical✓ -
nicholas@mordor:~$
nicholas@mordor:~$ sudo docker pull hello-world
Using default tag: latest
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
nicholas@mordor:~$
nicholas@mordor:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
nicholas@mordor:~$
nicholas@mordor:~$ sudo systemctl start docker
Failed to start docker.service: Unit docker.service not found.
nicholas@mordor:~$
nicholas@mordor:~$ sudo systemctl status docker
Unit docker.service could not be found.
nicholas@mordor:~$
see also:
systemctl docker status
show? – WMRamadan Sep 01 '22 at 23:02apt
and not as asnap
. Thesnap
version has somewhat limited functionality compared to theapt
version. – Artur Meinild Oct 28 '22 at 15:16