GET /docker/api/v2/containers
Alle Container auflisten

GET /docker/api/v2/compute_resources/:compute_resource_id/containers
Alle Container in einer Rechnerressource auflisten

Params

Param Name Description
compute_resource_id
Optional

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

search
Optional

Ergebnisse filtern


Value:

Must be String

order
Optional

Ergebnisse sortieren


Value:

Must be String

page
Optional

Ergebnisse nummerieren


Value:

Must be String

per_page
Optional

Anzahl der Einträge pro Anfrage


Value:

Must be String


GET /docker/api/v2/containers/:id
Container anzeigen

GET /docker/api/v2/compute_resources/:compute_resource_id/containers/:id
Container in einer Rechnerressource anzeigen

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
Optional

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /docker/api/v2/containers
Container erstellen

POST /docker/api/v2/compute_resources/:compute_resource_id/containers
Container in einer Rechnerressource erstellen

Params

Param Name Description
container
Required

Value:

Must be a Hash

container[name]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

container[location_ids]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Standorte durch angegebene Kennungen ERSETZEN


Value:

Must be an array of any type

container[organization_ids]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Organisationen durch angegebene Kennungen ERSETZEN


Value:

Must be an array of any type

container[compute_resource_id]
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

container[registry_id]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Registry this container will have to

use to get the image

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

container[repository_name]
Required

Name of the repository to use

to create the container. e.g: centos

Value:

Must be String

container[tag]
Required

Tag to use to create the container. e.g: latest


Value:

Must be String

container[tty]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

container[entrypoint]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

container[command]
Required

Value:

Must be String

container[memory]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

container[cpu_shares]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be a number.

container[cpu_set]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

container[environment_variables]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be Hash

container[attach_stdout]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

container[attach_stdin]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

container[attach_stderr]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

container[capsule_id]
Optional , <span class="translation_missing" title="translation missing: de.apipie.nil_allowed">Nil Allowed</span>

The capsule this container will have to use

to get the image. Relevant for images
retrieved from katello registry.

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


DELETE /docker/api/v2/containers/:id
Container löschen

DELETE /docker/api/v2/compute_resources/:compute_resource_id/containers/:id
Container in einer Rechnerressource löschen

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
Optional

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


GET /docker/api/v2/containers/:id/logs
Container-Protokolle anzeigen

GET /docker/api/v2/compute_resources/:compute_resource_id/containers/:id/logs
Protokolle von einem Container in einer Rechnerressource anzeigen

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
Optional

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

stdout
Optional

Value:

Must be 'true' or 'false'

stderr
Optional

Value:

Must be 'true' or 'false'

tail
Optional

Anzahl der anzuzeigenden Zeilen. Standard: 100


Value:

Must be Fixnum


PUT /docker/api/v2/containers/:id/power
Stromoperation auf einem Container ausführen

PUT /docker/api/v2/compute_resources/:compute_resource_id/containers/:id/power
Stromoperation auf einem Container in einer Rechnerressource ausführen

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
Optional

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

power_action
Required

Stromaktion, gültige Aktionen sind (start), (stop), (status)


Value:

Must be String