Removing a container from Bluemix

When you remove a container from Bluemix®, you must also remove the image name from the registry.

Procedure

  1. Run the following Cloud Foundry CLI plug-in for IBM® Containers (cf ic) commands to remove a container from Bluemix:
    1. cf ic ps (Lists the containers currently running)
    2. cf ic stop container_id (Stops the container)
    3. cf ic rm container_id (Removes the container)
  2. Run the following cf ic commands to remove an image name from the Bluemix registry:
    1. cf ic images (Lists the images in the registry)
    2. cf ic rmi image_id (Removes the image from the registry)