In this recipe, you'll find out how containers can be started and stopped using Docker cmdlets.
Starting and stopping Docker containers
Getting ready
If you have been following along, you should be able to continue with the same state. Otherwise, follow these steps:
- Open a PowerShell console with SU privileges
- Load the Docker PowerShell module using the manifest
- Create one or more containers, which should be in different states
How to do it...
To start and stop the Docker containers, follow these instructions:
- Check the status of the containers in your system...