November 2018
Intermediate to advanced
566 pages
17h 15m
English
You should have the PowerShell session open and have loaded the Docker module into the session by now.
Now, let's remove some containers and images. You can use the conditional construct to list specific containers, or we can remove all of the containers and images to start with a clean slate:
PS> Get-Container
PS> Get-Container | where-object {$_.Status -match 'up'} | Stop-Container
If you would rather not filter, that's OK:
PS> Get-Container | Stop-Container
PS> Get-Container | Remove-Container
PS> Get-ContainerImage ...
Read now
Unlock full access