v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Clone container

Clone container with a specific tag filter

post/containers/clone

Request body

container_repo_idinteger required

The ID of the container repo

tag_filterinteger required

The tag filter you want to apply to the container. You can use wildcards with the asterisk char (*). Use 'semver-production' for filtering on semver compliant tags. To reset the tag filter, you can pass 'null'.

Example request

{
  "container_repo_id": 1,
  "tag_filter": "semver-production"
}

Response

The the container has been cloned.

container_repo_idinteger

The id 1 of the newly cloned container