Containers are virtual software objects that include all the elements that an app needs to run. A container has the benefits of resource isolation and allocation but is more portable and efficient than, for example, a virtual machine.
This documentation describes the IBM Containers API, which is based on the Docker Remote API. The API provides endpoints that you can use to create and manage your single containers and container groups in Bluemix. Endpoints are summarized under the following tags:
Public IP addresses
endpoints.Each API request requires an HTTP header that includes the ‘X-Auth-Token’ and ‘X-Auth-Project-Id’ parameter.
cf oauth-token
to retrieve your access token information.cf space <space_name> --guid
, where <space_name>
is the name of your space, to retrieve your space ID.For further information about how containers work in the IBM Containers service, review the documentation under https://new-console.ng.bluemix.net/docs/containers/container_index.html.
Use this page to mock IBM Containers API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of IBM Containers API, which will allow you to keep building and testing even if the actual API you isn't currently available.