Skip to content

Open a container console WebSocket

GET
/container/{ocid}/console
curl --request GET \
--url 'https://sylve.lan:8181/api/container/1/console?shell=%2Fbin%2Fsh' \
--header 'Authorization: <Authorization>'

Open an interactive shell in a running container

ocid
required
integer

Container ID

shell
string
default: /bin/sh

Shell to run