{"modulePath":"github.com/runcom/engine-api","version":"v0.2.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package engineapi\n\nPackage engineapi provides libraries to implement client and server components compatible with the Docker engine.\n\nThe client package in github.com/docker/engine-api/client implements all necessary requests to implement the official Docker engine cli.\n\nCreate a new client, then use it to send and receive messages to the Docker engine API:\n\n\tdefaultHeaders := map[string]string{\"User-Agent\": \"engine-api-cli-1.0\"}\n\tcli, err := client.NewClient(\"unix:///var/run/docker.sock\", \"v1.22\", nil, defaultHeaders)\n\nOther programs, like Docker Machine, can set the default Docker engine environment for you. There is a shortcut to use its variables to configure the client:\n\n\tcli, err := client.NewEnvClient()\n\nAll request arguments are defined as typed structures in the types package. For instance, this is how to get all containers running in the host:\n\n\toptions := types.ContainerListOptions{All: true}\n\tcontainers, err := cli.ContainerList(options)\n\n","path":"github.com/runcom/engine-api","name":"engineapi","synopsis":"Package engineapi provides libraries to implement client and server components compatible with the Docker engine.","isRedistributable":true}
