The most essential knowledge and commands for using Docker
Why are containers beneficial?
They isolate apps, enhance security, provide portability and run many on one host.
What command can be used to check how Docker uses disk space and how much is reclaimable?
docker system df
How do you list all images?
docker image ls
How do you list all networks?
docker network ls
How do you list all volumes?
docker volume ls
How do you list view the logs of a container in real time?
docker logs -f <container_id>
How do you view the logs of a container?
docker logs <container_id>
How do you see the details of a specific container?
docker inspect <container_id>
How do you list all running Docker containers?
docker ps
How do you remove a volume?
docker volume rm <volume_id>
Import this source into your Adalyn library to start learning with spaced repetition.