v1
latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KBBind a public IP address to a single container
This endpoint binds an available public IP address to a single container (corresponding IBM Containers command: cf ic ip bind <ip_adress> <container>). After a container is bound to a public IP address, it can be accessed at https://<public_ip_adress>:<public_port>.
Path parameters
The name or ID of the container that you want to bind to the public IP address. Run the cf ic ps command or call the GET /containers/json endpoint to retrieve a list of containers in your space.
The public IP address that you want to bind to your container.
Note: The public IP address must be available in the space and not bound to a container. Run cf ic ip list or call the GET /containers/floating-ips endpoint.
Headers
The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.
The unique ID of your organization space where you want to create or work with your containers. Run cf space <space_name> --guid, where <space_name> is the name of your space, to retrieve your space ID.
Response
No Content. Your request to bind a public IP address to a container has successfully been processed.