- Git Cheat Sheet - GitLab
- Markdown cheatsheet
- Get Started With Maven For Building Java Applications
- Complete Jenkins Pipeline Tutorial
- Docker beginner's guide
- Docker Tutorial for Beginners [FULL COURSE in 3 Hours]
- Everything you need to know about Docker
- The Ultimate Docker Cheat Sheet
docker version
check docker client/server versiondocker image ls
ordocker images
lists all available imagesdocker image rm <image-id>
ordocker rmi <image-id>
removes the specified imagedocker pull <image:tag>
downloads the specified image:tag. If tag is not specified, defaults to latestdocker run <image:tag>
creates and starts a new container from the image specified. Runs the default startup command of the imagedocker stop <contianer-id-or-name>
stops (graceful shutdown) the specified containerdocker kill <container-id-or-name>
kills the specified container immediatelydocker start <container-id-or-name>
starts the stopped containerdocker ps
lists all running containersdocker ps -a
lists all running as well as stopped containersdocker container rm <container-id-or-name>
ordocker rm <container-id-or-name>
removes the specified stopped container. Add-f
to remove forcefullydocker container prune
removes all stopped containersdocker system prune
removes all stopped containers, unused networks, dangling images and dangling build cachedocker exec -it <container-id-name> <command>
executes the specfied command on the specified running container