Create an container object
Modem to connect to the remote service
Container id
Attach to a container. https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/attach-to-a-container
Query params in the request (optional)
Promise returning the container
Get changes on a container's filesystem https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/inspect-changes-on-a-container-s-filesystem
Promise returning the changes
Commit container into an image https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/create-a-new-image-from-a-container-s-changes
Query params in the request (optional)
Promise returning the new image
Query params in the request (optional)
Promise returning nothing
Export the content of a container https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/export-a-container
Query params in the request (optional)
Promise returning the content of the tar file as a stream or as a string
Query params in the request (optional)
Promise returning the container
Get stdout and stderr logs from a container https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/get-container-logs
Query params in the request (optional)
Promise returning the concatenated logs
Promise returning the container
Query params in the request (optional)
Promise returning the container
Resize the TTY for a container. You must restart the container to make the resize take effect. https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/resize-a-container-tty
Query params in the request (optional)
Promise returning the response
Query params in the request (optional)
Promise returning the container
Query params in the request (optional)
Promise returning the container
Get the stats of a container, either by a live stream or the current state https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/export-a-container
Query params in the request (optional)
Promise returning the stats, in a stream or string
Get low-level information on a container https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/inspect-a-container The reason why this module isn't called inspect is because that interferes with the inspect utility of node.
Query params in the request (optional)
Promise return the container
Query params in the request (optional)
Promise returning the container
Get list of processes (ps) inside a container. Not supported in Windows. https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/list-processes-running-inside-a-container
Query params in the request (optional)
Promise return the list of processes
Promise returning the container
Update configuration a container. Docs says you can do it for more than one, but doesn't exaplin how, so let's leave it in only one https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/update-a-container
Query params in the request (optional)
Promise returning the container
Block until a container stops, returning exit code https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/wait-a-container
Promise returning the exit code
Attach to a container using websocket. https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/attach-to-a-container-websocket
Query params in the request (optional)
Promise returning the stream and the container
Generated using TypeDoc
Class representing a container