Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.87 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.87 KB

Dockerfiles

linux-actions-svg

Dockerfile repository for my projects (https://github.com/bluekyu)

Images Notes Status
linux-base Clang & Python image badge-image-linux-base
linux-android-sdk Android SDK image from base badge-image-linux-android-sdk
linux-android-ndk Android NDK image from Android SDK badge-image-linux-android-ndk
windows-msvc16 Visual Studio 2019 and Clang/LLVM image

Cheetsheet

See https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes

Build

cd [IMAGE]
docker build -t [IMAGE] .

Run

docker run --rm -it [IMAGE] /bin/bash

Images

Remove dangling images

docker images purge

To remove all images which are not used by existing containers

docker image prune -a

Remove all images

docker rmi $(docker images -a -q)

Containers

Stop and remove all containers

docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)