docker
CLIBuild, run, and manage containers from the CLI.
0 views
Installation
Manual
https://docs.docker.com/get-docker/Links
License
Apache-2.0AI Agent Notes
Build and run containers, manage images and networks
When to use
Running containerized applications or building Docker images
Proven Recipes
Build an image🟢 97% success
docker build -t myapp:latest .Run container with port mapping🟢 97% success
docker run -p 3000:3000 --rm myapp:latestGet shell inside running container🟢 97% success
docker exec -it container_name /bin/shRemove all stopped containers and unused images🟢 98% success
docker system prune -af⚠ Common failures (1)
- Removes too much → Use docker container prune or docker image prune separately