spiegel_podman/vendor/github.com/docker/docker/client
dependabot[bot] a3fb15dffb
Bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.3-0.20210216175712-646072ed6524+incompatible to 20.10.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/commits/v20.10.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 08:04:42 +00:00
..
build_cancel.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
build_prune.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
checkpoint_create.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
checkpoint_delete.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
checkpoint_list.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
client.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
client_deprecated.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
client_unix.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
client_windows.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
config_create.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
config_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
config_list.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
config_remove.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
config_update.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_attach.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_commit.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_copy.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_create.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_diff.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_exec.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_export.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_kill.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
container_logs.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_pause.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_prune.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_rename.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_resize.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_restart.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_start.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_stats.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
container_stop.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_top.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
container_unpause.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
container_update.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
container_wait.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
disk_usage.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
distribution_inspect.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
errors.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
events.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
hijack.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
image_build.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
image_create.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
image_history.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
image_import.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
image_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
image_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
image_load.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
image_prune.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
image_pull.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
image_push.go update c/buildah to v1.12.0 2019-12-19 18:17:23 +01:00
image_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
image_save.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
image_search.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
image_tag.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
info.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
interface.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
interface_experimental.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
interface_stable.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
login.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
network_connect.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
network_create.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
network_disconnect.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
network_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
network_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
network_prune.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
network_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
node_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
node_list.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
node_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
node_update.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
options.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
ping.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
plugin_create.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
plugin_disable.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
plugin_enable.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
plugin_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
plugin_install.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
plugin_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
plugin_push.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
plugin_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
plugin_set.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
plugin_upgrade.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
README.md Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
request.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
secret_create.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
secret_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
secret_list.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
secret_remove.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
secret_update.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
service_create.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
service_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
service_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
service_logs.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
service_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
service_update.go update github.com/docker/docker and relevant deps 2020-09-18 02:22:25 +09:00
swarm_get_unlock_key.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
swarm_init.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
swarm_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
swarm_join.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
swarm_leave.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
swarm_unlock.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
swarm_update.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
task_inspect.go Bump github.com/docker/docker 2021-05-07 08:04:42 +00:00
task_list.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
task_logs.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
transport.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
utils.go Vendor docker/docker, fsouza and more #2 2019-03-13 11:40:39 -04:00
version.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
volume_create.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
volume_inspect.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
volume_list.go Bump to Buildah v1.11.5 2019-11-13 10:57:19 -05:00
volume_prune.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00
volume_remove.go Update c/image to v4.0.1 and buildah to 1.11.3 2019-10-04 20:18:23 +02:00

Go client for the Docker Engine API

The docker command uses this package to communicate with the daemon. It can also be used by your own Go applications to do anything the command-line interface does  running containers, pulling images, managing swarms, etc.

For example, to list running containers (the equivalent of docker ps):

package main

import (
	"context"
	"fmt"

	"github.com/docker/docker/api/types"
	"github.com/docker/docker/client"
)

func main() {
	cli, err := client.NewClientWithOpts(client.FromEnv)
	if err != nil {
		panic(err)
	}

	containers, err := cli.ContainerList(context.Background(), types.ContainerListOptions{})
	if err != nil {
		panic(err)
	}

	for _, container := range containers {
		fmt.Printf("%s %s\n", container.ID[:10], container.Image)
	}
}

Full documentation is available on GoDoc.