{"modulePath":"github.com/Coding/drone","version":"v0.4.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package docker\n\n## Variables\n\n```go\nvar (\n\tLogOpts = \u0026dockerclient.LogOptions{\n\t\tStdout: true,\n\t\tStderr: true,\n\t}\n\n\tLogOptsTail = \u0026dockerclient.LogOptions{\n\t\tFollow: true,\n\t\tStdout: true,\n\t\tStderr: true,\n\t}\n)\n```\n\n## Functions\n\n```go\nfunc Run(client dockerclient.Client, conf *dockerclient.ContainerConfig, name string) (*dockerclient.ContainerInfo, error)\n```\nRun creates the docker container, pulling images if necessary, starts the container and blocks until the container exits, returning the exit information.\n\n```go\nfunc RunDaemon(client dockerclient.Client, conf *dockerclient.ContainerConfig, name string) (*dockerclient.ContainerInfo, error)\n```\nRunDaemon creates the docker container, pulling images if necessary, starts the container and returns the container information. It does not wait for the container to exit.\n\n```go\nfunc Wait(client dockerclient.Client, name string) (*dockerclient.ContainerInfo, error)\n```\nWait blocks until the named container exits, returning the exit information.\n\n","path":"github.com/Coding/drone/shared/docker","name":"docker","synopsis":"","isRedistributable":true}
