9. Stopping and Destroying Containers¶
Running containers cannot be destroyed, stop them first.
Stop a container:
$ virsh --connect docker://node3.winctpreview.com shutdown vpnclient<N>_winct03nano
Domain vpnclient<N>_winct03nano is being shutdown
Destroy a stopped container:
$ virsh --connect docker://node3.winctpreview.com undefine vpnclient<N>_winct03nano
Domain vpnclient<N>_winct03nano has been undefined
Version 7.5.0 — Mar 01, 2021