-
Notifications
You must be signed in to change notification settings - Fork 0
Destroying containers & images
Téo Haÿs edited this page Aug 16, 2022
·
1 revision
The destroy
command is used to remove a container on a node, or an image on the remote repository. Use with caution !
-
--yes or -y
bypasses the confirmation prompt that normally appears when you run the command. Useful if you need to destroy your container in scripts. -
--nodes or -n
is a list of the nodes you want to target with your current command.
Example :
baleine destroy --nodes 5 -y
will destroy the container running on node fit05.
-
--image or -i
PERMANENTLY delete the image you give it as an argument from the remote repository. USE WITH EXTREME CAUTION
Example :
baleine destroy -i faraday/my-image:latest
If you can't find something, feel free to open an issue or to send an email to me@haysberg.io for more info.