Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicholasdille/docker

Repository of container images for Windows as well as Linux
https://github.com/nicholasdille/docker

docker docker-images dockerfiles linux-containers windows-container windows-containers

Last synced: 3 months ago
JSON representation

Repository of container images for Windows as well as Linux

Awesome Lists containing this project

README

        

## Install docker tools

```
choco install -y docker docker-compose docker-machine
```

## Useful commands

* Remove all containers:

```
docker ps --format "{{.ID}}" -a | % {docker rm $_}
```

* Remove all container based on a specific image

```
docker ps -f ancestor=windowsservercore -a --format "{{.ID}}" | % {docker rm $_}
```

* Remove all untagged (dangling) images

```
docker images -f dangling=true --format "{{.ID}}" | % {docker rmi $_}
```