Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:docker:hello_world

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Nächste Überarbeitung
Vorherige Überarbeitung
admin_grundlagen:docker:hello_world [2026/01/25 13:46]
ingo_wichmann angelegt
admin_grundlagen:docker:hello_world [2026/05/22 19:17] (aktuell)
ingo_wichmann [erster Docker Container]
Zeile 2: Zeile 2:
 erste Docker Instanz starten: erste Docker Instanz starten:
   docker run hello-world   docker run hello-world
-oder+oder (( A string that is used to identify an image is called an image reference. An image reference has these parts: ''​[host[:​port]/​][namespace/​]repository[:​tag][@digest]''​ https://​docs.docker.com/​reference/​cli/​docker/​image/​tag/​ ))
   docker container run docker.io/​library/​hello-world:​latest   docker container run docker.io/​library/​hello-world:​latest
- 
-A string that is used to identify an image is called an image reference. An image reference has these parts: ''​[domain/​][namespace/​]repository[:​tag][@digest]''​ 
  
 Image anzeigen: Image anzeigen:
   docker image list   docker image list
-  docker image inspect hello-world+-> ''​REPOSITORY ​   TAG       IMAGE ID       ​CREATED ​      ​SIZE''​
  
 +-> ''​hello-world ​  ​latest ​   e2ac70e7319a ​  8 weeks ago   ​10.1kB''​
 +++++ podman |
 +-> ''​quay.io/​podman/​hello ​          ​latest ​     5dd467fce50b ​ 24 months ago  787 kB''​
 +++++
 +  docker image inspect hello-world
 +++++ podman |
 +  podman image inspect docker.io/​library/​hello-world
 +++++
 ====== Ubuntu Container ===== ====== Ubuntu Container =====
-  ​docker ​container run -it ubuntu ​bash+"​offiziellen"​ Ubuntu Container suchen: 
 +  ​docker ​search ​--filter=is-official=true ​ubuntu
 -> weitere Images siehe https://​hub.docker.com -> weitere Images siehe https://​hub.docker.com
 +
 +Ubuntu im Terminal starten:
 +  docker container run -it ubuntu bash
  
 ====== erste Befehle in Docker ausführen ====== ====== erste Befehle in Docker ausführen ======
admin_grundlagen/docker/hello_world.1769348774.txt.gz · Zuletzt geändert: 2026/01/25 13:46 von ingo_wichmann