Skip to main content

rmi

This command removes all versions of an image and their related jobs.

Usage​

bx rmi [-f] [--help] <imageName>

Parameters and inputs​

ShorthandLong versionDescription
-f--forceForce deletion
--helpShow this help message and exit

Examples​

Remove an image​

Specify the image name you want to remove (just the name, without the environment or version).

$ bx rmi tutorial/hello-world

BatchX will prompt you to confirm this action. After confirmation, all image versions along with their related jobs will be deleted.

Are you sure you want to delete this image and its related jobs? (yes/no)
yes
[batchx] [INFO] [2020/03/06 14:53:49] Disabling images
[batchx] [INFO] [2020/03/06 14:53:49] Deleting docker repository
[batchx] [INFO] [2020/03/06 14:53:49] Deleting job #183
[batchx] [INFO] [2020/03/06 14:53:49] Deleting job #181