Paramètres

Nom du paramètre Description
container
requis

Validations:

  • Must be a Hash

container[name]
optionel , nil autorisé

Validations:

  • Must be a String

container[location_ids]
optionel , nil autorisé

REMPLACER les emplacements qui ont les ID suivant

Validations:

  • Must be an array of any type

container[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivant

Validations:

  • Must be an array of any type

container[compute_resource_id]
requis

Validations:

  • 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]
optionel , nil autorisé

Registry this container will have to use to get the image

Validations:

  • 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]
requis

Name of the repository to use to create the container. e.g. centos

Validations:

  • Must be a String

container[tag]
requis

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

Validations:

  • Must be a String

container[tty]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0

container[entrypoint]
optionel , nil autorisé

Validations:

  • Must be a String

container[command]
requis

Validations:

  • Must be a String

container[memory]
optionel , nil autorisé

Validations:

  • Must be a String

container[cpu_shares]
optionel , nil autorisé

Validations:

  • Must be a number.

container[cpu_set]
optionel , nil autorisé

Validations:

  • Must be a String

container[environment_variables]
optionel , nil autorisé

Optional array of environment variables hashes. e.g. 'environment_variables': [{'name' => 'example', 'value' => '123'}]

Validations:

  • Must be an array of any type

container[attach_stdout]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0

container[attach_stdin]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0

container[attach_stderr]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0

container[capsule_id]
optionel , nil autorisé

The capsule this container will have to use to get the image. Relevant for images retrieved from katello registry.

Validations:

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