Sri Shetty
Sri Shetty

Reputation: 11

Bluemix - Container Health Error

The Liberty for Java Container build process is running for days. The exact message that I see under the Container Health section is:

Your container is building

Any help on creating container or deleting this hanging container is appreciated. Please see the attached image to view the container status that is referenced above.

Upvotes: 0

Views: 56

Answers (1)

Umberto Manganiello
Umberto Manganiello

Reputation: 3233

Sometimes it happens that a container is in 'Building' state for too long and it usually means that there was an infrastructure problem. You can try to create a new container from the same image with cf ic run or ice run. Please consider that if you reached the maximum quota you could need to delete the stuck container or to release unbound IPs in order to create a new one. You can delete a container using:

cf ic rm -f [containerId]

To get the container id you can run:

cf ic ps -a

You can list all IPs (available or not) using:

cf ic ip list -a

Then you can release an IP using:

cf ic ip release [IPAddr]

Upvotes: 1

Related Questions