Container

Update a container

Changed on

Queue recreation of a container from an edited spec, keeping its volumes

put/container/{ocid}

Request

  • Base URL
    https://sylve.lan:8181/api
  • URL
    https://sylve.lan:8181/api/container/{ocid}
  • Auth
    API key in header Authorization

Path parameters

ocidinteger required

Container ID

Request body

annotationsobject
commandstring[]
entrypointstring[]
extraHostsstring[]
hostnamestring
imagestring
ipstring
networkstring
osstring
pullImageboolean
restartstring
restartRetriesinteger
shmSizestring
stopTimeoutinteger
userstring
workDirstring

Response

Accepted

errorstring
messagestring
statusstring

Changes