(build connection path)
Builds an image from a provided directory.
Assumes a Dockerfile to be present in that directory.
Builds an image from a provided directory. Assumes a Dockerfile to be present in that directory.
(connect)
Connects to the local Docker daemon with default settings.
Returns the connection.
Connects to the local Docker daemon with default settings. Returns the connection.
(create connection image cmd env-vars)
Creates a container.
Takes the image, entry point command and environment vars as a map and returns the id of the created container.
Creates a container. Takes the image, entry point command and environment vars as a map and returns the id of the created container.
(image-ls connection)
Lists all available images.
Lists all available images.
(image-rm connection name)
(image-rm connection name force? no-prune?)
Deletes an image by name or id.
The name is represented by <repo>:<tag>.
Deletes an image by *name* or id. The *name* is represented by <repo>:<tag>.
(kill connection name)
Kills container with SIGKILL by name or id.
Assumes the container to be running. Returns the name or id.
Kills container with SIGKILL by name or id. Assumes the container to be running. Returns the name or id.
(ping connection)
Healthiness check for the connection to the Docker server.
Returns OK if everything is fine.
Healthiness check for the connection to the Docker server. Returns OK if everything is fine.
(ps connection)
(ps connection all?)
Lists all containers.
Lists all running containers by default, all can be listed by passing a true param to all?
Lists all containers. Lists all running containers by default, all can be listed by passing a true param to *all?*
(pull connection name)
Pulls an image by name.
The name is represented by <repo>:<tag>.
Pulls an image by *name*. The *name* is represented by <repo>:<tag>.
(push connection name)
Pushes an image by name or id.
The name is represented by <repo>:<tag>.
Pushes an image by *name* or id. The *name* is represented by <repo>:<tag>.
(rm connection name)
(rm connection name force?)
Removes a container by name or id.
Pass true to force kill a running container and remove it. Returns the name or id.
Removes a container by name or id. Pass true to force kill a running container and remove it. Returns the name or id.
(start connection name)
Starts a created container asynchronously by name or id.
Returns the name or id.
Starts a created container asynchronously by name or id. Returns the name or id.
(stop connection name)
(stop connection name timeout)
Stops a container with SIGTERM by name or id.
Waits for timeout secs or value of timeout before killing. Returns the name or id.
Stops a container with SIGTERM by name or id. Waits for timeout secs or value of timeout before killing. Returns the name or id.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close