Skip to content

Files

Latest commit

8a8a111 · Sep 28, 2022

History

History
25 lines (18 loc) · 596 Bytes

install-ubuntu-snap.md

File metadata and controls

25 lines (18 loc) · 596 Bytes

Install docker (ubuntu) with snap


sudo su -
snap install docker

# for information retrieval 
snap info docker
systemctl list-units
systemctl list-units -t service
systemctl list-units -t service | grep docker

systemctl status snap.docker.dockerd.service
# oder (aber veraltet) 
service snap.docker.dockerd status

systemctl stop snap.docker.dockerd.service
systemctl status snap.docker.dockerd.service
systemctl start snap.docker.dockerd.service 

# wird der docker-dienst beim nächsten reboot oder starten des Server gestartet ? 
systemctl is-enabled snap.docker.dockerd.service