参数

参数名字 描述
container
必填

Validations:

  • Must be a Hash

container[name]
选填 , 允许空值

Validations:

  • Must be String

container[location_ids]
选填 , 允许空值

REPLACE locations with given ids

Validations:

  • Must be an array of any type

container[organization_ids]
选填 , 允许空值

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type

container[compute_resource_id]
必填

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]
选填 , 允许空值

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]
必填

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

Validations:

  • Must be String

container[tag]
必填

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

Validations:

  • Must be String

container[tty]
选填 , 允许空值

Validations:

  • Must be 'true' or 'false' or '1' or '0'

container[entrypoint]
选填 , 允许空值

Validations:

  • Must be String

container[command]
必填

Validations:

  • Must be String

container[memory]
选填 , 允许空值

Validations:

  • Must be String

container[cpu_shares]
选填 , 允许空值

Validations:

  • Must be a number.

container[cpu_set]
选填 , 允许空值

Validations:

  • Must be String

container[environment_variables]
选填 , 允许空值

Validations:

  • Must be Hash

container[attach_stdout]
选填 , 允许空值

Validations:

  • Must be 'true' or 'false' or '1' or '0'

container[attach_stdin]
选填 , 允许空值

Validations:

  • Must be 'true' or 'false' or '1' or '0'

container[attach_stderr]
选填 , 允许空值

Validations:

  • Must be 'true' or 'false' or '1' or '0'

container[capsule_id]
选填 , 允许空值

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.