Params

Param name Description
container
required

Validations:

  • Hash

container[name]
optional , nil allowed

Validations:

  • String

container[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

container[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type

container[compute_resource_id]
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

container[registry_id]
optional , nil allowed

Registry this container will have to use to get the image

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

container[repository_name]
required

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

Validations:

  • String

container[tag]
required

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

Validations:

  • String

container[tty]
optional , nil allowed

Validations:

  • boolean

container[entrypoint]
optional , nil allowed

Validations:

  • String

container[command]
required

Validations:

  • String

container[memory]
optional , nil allowed

Validations:

  • String

container[cpu_shares]
optional , nil allowed

Validations:

  • number.

container[cpu_set]
optional , nil allowed

Validations:

  • String

container[environment_variables]
optional , nil allowed

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]
optional , nil allowed

Validations:

  • boolean

container[attach_stdin]
optional , nil allowed

Validations:

  • boolean

container[attach_stderr]
optional , nil allowed

Validations:

  • boolean

container[capsule_id]
optional , nil allowed

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

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..