Docker(Raspbian)
Version vom 27. August 2022, 12:05 Uhr von Martin Kirner (Diskussion | Beiträge) (→Docker ohne root)
Installation
curl -fsSL https://get.docker.com | sh
Docker ohne root
nachträglich
sudo usermod -aG docker $USER newgrp docker
direkte Installation
Noch nicht getestet:
curl -fsSL https://get.docker.com/rootless | sh
Service
Siehe auch: systemd
sudo systemctl status docker.service
Login
docker login -u <username> --password-stdin
Hello World
sudo docker run arm64v8/hello-world
Probleme
Error response from daemon: pull access denied for armhf/hello-worlds, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
armhf
is deprecated, use arm64v8
instead:
sudo docker run arm64v8/<image>
Links
https://github.com/docker-library/official-images#architectures-other-than-amd64
Links
https://www.ionos.at/digitalguide/server/konfiguration/raspberry-pi-docker/
https://withblue.ink/2019/07/13/yes-you-can-run-docker-on-raspbian.html