Skip to content

zero-plus-x/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0+X Docker Images

A variety of different docker images curated by 0+X, mainly for internal work.

Pre-requisites

Images

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

Snippets

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 $(docker stop $(docker ps -a -q --filter ancestor=<image_name>))
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

Maintainers