erste Docker Instanz starten:
docker run hello-world
oder
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:
docker image list docker image inspect hello-world
docker container run -it ubuntu bash
→ weitere Images siehe https://hub.docker.com
sort mit Ubuntu im Container:
docker container run -i --rm ubuntu sort < /etc/passwd
sort mit Alpine im Container:
docker container run -i --rm alpine sort < /etc/passwd
epel-release installieren (fügt neues Repository hinzu)debootstrap stable ./debian http://debian/debian tar cC debian/ . | docker image import - ingo/debian
docker container run ingo/debian echo hello world