CreateContainerRepository

POST {{baseUrl}}/container/repositories

Create a new empty container repository. Avoid entering confidential information.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "displayName"=>"something/someimage", "isImmutable"=>false, "isPublic"=>false, "readme"=>{"content"=>"sunt", "format"=>"TEXT_MARKDOWN"}}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"Lorem ea ad aliqua","createdBy":"proident do reprehenderit ea","displayName":"sunt labore aliqua dolore","id":"labore minim cillum","imageCount":44390268,"isImmutable":false,"isPublic":true,"layerCount":21068521,"layersSizeInBytes":-17683740,"lifecycleState":"DELETING","timeCreated":"2019-12-06T02:44:30.238Z","billableSizeInGBs":-61035810,"readme":{"content":"eu est aute anim culpa","format":"TEXT_MARKDOWN"},"timeLastPushed":"1977-01-15T19:16:02.881Z"}