A variety of different docker images curated by 0+X, mainly for internal work.
Name | Description |
---|---|
zeroplusx/gcloud-workspace | Google Cloud workspace image for authenticating and working with GCP resources |
zeroplusx/kube-workspace | Kubernetes workspace image containing kubectl, helm, curl etc. |
zeroplusx/middleman | Ruby/Bundler/Middleman image for generating static websites |
zeroplusx/static-nginx | Base image for static website builds to be served using nginx |
zeroplusx/yarn | node/npm/yarn image for working with nodejs applications |
zeroplusx/firebase-tools | firebase-tools image for working with firebase applications |
Useful snippets for cleanups etc.
Action | Snippet |
---|---|
Stop all containers | docker stop $(docker ps -a -q) |
Remove all containers | docker rm $(docker ps -a -q) |
Remove all images | docker rmi $(docker images -q) |
Remove orphaned volumes | docker volume rm $(docker volume ls -qf dangling=true) |
Remove exited containers | docker rm -v $(docker ps -a -q -f status=exited) |
Stop & Remove all containers with base image name <image_name> | docker rm |
Remove dangling images | docker rmi $(docker images -f "dangling=true" -q) |
Cleanup Volumes | docker run -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker:/var/lib/docker --rm martin/docker-cleanup-volumes |
- Sebastian Mandrean ([email protected])