docker Funktionen/Befehle

Stop / remove all Docker containers docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
running-nano-in-docker-container
edit file
sudo docker exec -t -i {container_name} bash
docker exec -it id_container bash
apt-get update
apt-get install nano
container betreten sudo docker exec -t -i {container_name} bash
Logs des Containers anzeigen lassen docker logs <Container-ID>