Docker(Raspbian): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
<pre>
<pre>
curl -fsSL https://get.docker.com | sh
curl -fsSL https://get.docker.com | sh
</pre>
=== Docker ohne root ===
{{note|Noch nicht getestet:}}
<pre>
curl -fsSL https://get.docker.com/rootless | sh
</pre>
</pre>



Version vom 27. August 2022, 13:00 Uhr

Installation

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

Docker ohne root

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