Docker(Raspbian)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Installation

curl -fsSL https://get.docker.com | sh

Docker ohne root

nachträglich

sudo usermod -aG docker $USER
newgrp docker

https://u-labs.de/portal/docker-auf-dem-raspberry-pi-installieren-erste-container-starten-einfach-erklaert/

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


Zurück zu Raspbian, Docker