Cake.Docker

A Cake AddIn that extends Cake with Docker command tools.

#addin nuget:?package=Cake.Docker&version=0.11.1

<package id="Cake.Docker" version="0.11.1" />

dotnet add package Cake.Docker --version 0.11.1

<PackageReference Include="Cake.Docker" Version="0.11.1" />

Aliases

Contains functionality for working with Docker commands. Contains functionality for working with manifest annotate command. Contains functionality for working with manifest create command. Contains functionality for working with manifest inspect command. Contains functionality for working with manifest push command.

General

DockerBuild(ICakeContext, DockerImageBuildSettings, string) Builds an image given settings.
DockerBuild(ICakeContext, string) Builds an image using default settings.
DockerComposeBuild(ICakeContext, DockerComposeBuildSettings, string[]) Runs docker-compose build given settings.
DockerComposeBuild(ICakeContext, string[]) Runs docker-compose build with default settings.
DockerComposeCreate(ICakeContext, DockerComposeCreateSettings, string[]) Runs docker-compose create given settings.
DockerComposeCreate(ICakeContext, string[]) Runs docker-compose create with default settings.
DockerComposeDown(ICakeContext) Runs docker-compose down with default settings.
DockerComposeDown(ICakeContext, DockerComposeDownSettings) Runs docker-compose down given settings.
DockerComposeExec(ICakeContext, DockerComposeExecSettings, string, string, string[]) Runs docker-compose exec given settings.
DockerComposeExec(ICakeContext, string, string, string[]) Runs docker-compose exec with default settings.
DockerComposeKill(ICakeContext) Runs docker-compose kill with default settings.
DockerComposeKill(ICakeContext, DockerComposeKillSettings) Runs docker-compose kill given settings.
DockerComposeLogs(ICakeContext) Runs docker-compose logs with default settings.
DockerComposeLogs(ICakeContext, DockerComposeLogsSettings) Runs docker-compose logs given settings.
DockerComposePause(ICakeContext, DockerComposeSettings, string[]) Runs docker-compose pause.
DockerComposePause(ICakeContext, string[]) Runs docker-compose pause with default settings.
DockerComposePort(ICakeContext, DockerComposePortSettings, string, int) Runs docker-compose port.
DockerComposePort(ICakeContext, string, int) Runs docker-compose port with default settings.
DockerComposePs(ICakeContext, DockerComposePsSettings, string[]) Runs docker-compose ps.
DockerComposePs(ICakeContext, string[]) Runs docker-compose ps with default settings.
DockerComposePull(ICakeContext, DockerComposePullSettings, string[]) Runs docker-compose pull given settings.
DockerComposePull(ICakeContext, string[]) Runs docker-compose pull with default settings.
DockerComposeRestart(ICakeContext, DockerComposeRestartSettings, string[]) Runs docker-compose restart given settings.
DockerComposeRestart(ICakeContext, string[]) Runs docker-compose restart with default settings.
DockerComposeRm(ICakeContext, DockerComposeRmSettings, string[]) Runs docker-compose rm given settings.
DockerComposeRm(ICakeContext, string[]) Runs docker-compose rm with default settings.
DockerComposeRun(ICakeContext, DockerComposeRunSettings, string, string, string[]) Runs docker-compose run given settings.
DockerComposeRun(ICakeContext, DockerComposeRunSettings, string, string[]) Runs docker-compose run given settings.
DockerComposeRun(ICakeContext, string, string, string[]) Runs docker-compose run with default settings.
DockerComposeRun(ICakeContext, string, string[]) Runs docker-compose run with default settings.
DockerComposeScale(ICakeContext, DockerComposeSettings, string[]) Runs docker-compose scale.
DockerComposeScale(ICakeContext, string[]) Runs docker-compose scale with default settings.
DockerComposeStart(ICakeContext, DockerComposeSettings, string[]) Runs docker-compose start.
DockerComposeStart(ICakeContext, string[]) Runs docker-compose start with default settings.
DockerComposeStop(ICakeContext, DockerComposeBuildSettings, string[]) Runs docker-compose stop given settings.
DockerComposeStop(ICakeContext, string[]) Runs docker-compose stop with default settings.
DockerComposeUnpause(ICakeContext, DockerComposeSettings, string[]) Runs docker-compose unpause.
DockerComposeUnpause(ICakeContext, string[]) Runs docker-compose unpause with default settings.
DockerComposeUp(ICakeContext, DockerComposeUpSettings, string[]) Runs docker-compose up given settings.
DockerComposeUp(ICakeContext, string[]) Runs docker-compose up with default settings.
DockerContainerLs(ICakeContext, DockerContainerLsSettings) List containers given settings.
DockerCp(ICakeContext, string, string) Copy files from/to using default settings.
DockerCp(ICakeContext, string, string, DockerContainerCpSettings) Copy files from/to container given settings.
DockerCreate(ICakeContext, DockerContainerCreateSettings, string, string, string[]) Creates a new container given settings.
DockerCreate(ICakeContext, string, string, string[]) Creates a new container using default settings.
DockerCustomCommand(ICakeContext, DockerCustomCommandSettings, string) Run a custom docker command
DockerCustomCommand(ICakeContext, string) Run a custom docker command
DockerExec(ICakeContext, DockerContainerExecSettings, string, string, string[]) Execs a command using given settings.
DockerExec(ICakeContext, string, string, string[]) Execs a command using default settings.
DockerImageLs(ICakeContext, DockerImageLsSettings) List images given settings.
DockerLoad(ICakeContext, DockerImageLoadSettings) Load an image from a tar archive or STDIN.
DockerLogin(ICakeContext, DockerRegistryLoginSettings, string) Register or log in to a Docker registry. If no server is specified, the docker engine default is used.
DockerLogin(ICakeContext, string, string, string) Register or log in to a Docker registry. If no server is specified, the docker engine default is used.
DockerLogout(ICakeContext, DockerRegistryLogoutSettings, string) Logout from a Docker registry. If no server is specified, the docker engine default is used.
DockerLogout(ICakeContext, string) Logout from a Docker registry. If no server is specified, the docker engine default is used.
DockerLogs(ICakeContext, DockerContainerLogsSettings, string) Logs container using the given settings.
DockerLogs(ICakeContext, string) Logs container using default settings.
DockerManifestAnnotate(ICakeContext, DockerManifestAnnotateSettings, string, string) Add additional information to a local image manifest
DockerManifestAnnotate(ICakeContext, string, string) Add additional information to a local image manifest
DockerManifestCreate(ICakeContext, DockerManifestCreateSettings, string, string, string[]) Create a local manifest list for annotating and pushing to a registry
DockerManifestCreate(ICakeContext, string, string, string[]) Create a local manifest list for annotating and pushing to a registry
DockerManifestInspect(ICakeContext, DockerManifestInspectSettings, string, string) Display an image manifest, or manifest list
DockerManifestInspect(ICakeContext, string) Display an image manifest, or manifest list
DockerManifestInspect(ICakeContext, string, string) Display an image manifest, or manifest list
DockerManifestPush(ICakeContext, DockerManifestPushSettings, string) Push a manifest list to a repository
DockerManifestPush(ICakeContext, string) Push a manifest list to a repository
DockerNetworkConnect(ICakeContext, DockerNetworkConnectSettings, string, string, string[]) Connects a container to a network given settings.
DockerNetworkConnect(ICakeContext, string, string, string[]) Connects a container to a network using default settings.
DockerNetworkCreate(ICakeContext, DockerNetworkCreateSettings, string[]) Creates a network given settings.
DockerNetworkCreate(ICakeContext, string[]) Creates a network using default settings.
DockerNetworkDisconnect(ICakeContext, DockerNetworkDisconnectSettings, string[]) Disconnects a network given settings.
DockerNetworkDisconnect(ICakeContext, string[]) Disconnects a network using default settings.
DockerNetworkRemove(ICakeContext, string, string[]) Removes a network.
DockerNetworkRemove(ICakeContext, string[], string[]) Removes networks.
DockerPs(ICakeContext, DockerContainerPsSettings) List containers given settings.
DockerPull(ICakeContext, DockerImagePullSettings, string) Pull an image or a repository from the registry with given settings.
DockerPull(ICakeContext, string) Pull an image or a repository from the registry.
DockerPush(ICakeContext, DockerImagePushSettings, string) Push an image or a repository to the registry with given settings.
DockerPush(ICakeContext, string) Push an image or a repository to the registry.
DockerRemove(ICakeContext, DockerImageRemoveSettings, string[]) Removes an array of images using the give settings.
DockerRm(ICakeContext, DockerContainerRmSettings, string[]) Removes an array of containers using the given .
DockerRm(ICakeContext, string[]) Removes an array of containers using default settings.
DockerRmi(ICakeContext, string[]) Removes an array of images using default settings.
DockerRun(ICakeContext, DockerContainerRunSettings, string, string, string[]) Creates a new container given settings.
DockerRun(ICakeContext, string, string, string[]) Creates a new container using default settings.
DockerRunWithoutResult(ICakeContext, DockerContainerRunSettings, string, string, string[]) Creates a new container given settings and doesn't return the output like Cake.Docker.DockerAliases.DockerRun(Cake.Core.ICakeContext,Cake.Docker.DockerContainerRunSettings,System.String,System.String,System.String[]) does. This way one can capture stdout.
DockerRunWithoutResult(ICakeContext, string, string, string[]) Creates a new container using default settings. and doesn't return the output like Cake.Docker.DockerAliases.DockerRun(Cake.Core.ICakeContext,System.String,System.String,System.String[]) does. This way one can capture stdout.
DockerSave(ICakeContext, DockerImageSaveSettings, string[]) Save one or more images to a tar archive (streamed to STDOUT by default).
DockerStart(ICakeContext, DockerContainerStartSettings, string[]) Starts an array of containers using the give settings.
DockerStart(ICakeContext, string[]) Starts an array of containers using default settings.
DockerStop(ICakeContext, DockerContainerStopSettings, string[]) Stops an array of containers using the give settings.
DockerStop(ICakeContext, string[]) Stops an array of containers using default settings.
DockerSwarmInit(ICakeContext, DockerSwarmInitSettings, string[]) Initializes a swarm given settings.
DockerSwarmInit(ICakeContext, string[]) Initializes a swarm using default settings.
DockerSwarmJoin(ICakeContext, DockerSwarmJoinSettings, string[]) Joins a swarm given settings.
DockerSwarmJoin(ICakeContext, string[]) Joins a swarm using default settings.
DockerSwarmLeave(ICakeContext, DockerSwarmLeaveSettings, string[]) Leaves a swarm given settings.
DockerSwarmLeave(ICakeContext, string[]) Leaves a swarm using default settings.
DockerSwarmUpdate(ICakeContext, DockerSwarmUpdateSettings, string[]) Updates a swarm given settings.
DockerSwarmUpdate(ICakeContext, string[]) Updates a swarm using default settings.
DockerTag(ICakeContext, string, string) Tag an image into a repository.
DockerVolumeCreate(ICakeContext, DockerVolumeCreateSettings, string) Runs docker volume create given settings.
DockerVolumeCreate(ICakeContext, string) Runs docker volume create with default settings.
DockerVolumeInspect(ICakeContext, DockerVolumeInspectSettings, string[]) Display detailed information on one or more volumes given settings.
DockerVolumeInspect(ICakeContext, string[]) Display detailed information on one or more volumes.
DockerVolumeLs(ICakeContext, DockerVolumeLsSettings) List volumes given settings.
DockerVolumePrune(ICakeContext, DockerVolumePruneSettings) Remove all unused local volumes given settings.
DockerVolumeRm(ICakeContext, DockerVolumeRmSettings, string[]) Remove one or more volumes given settings.
DockerVolumeRm(ICakeContext, string[]) Remove one or more volumes.