The Docker CLI
Go to file
Shukui Yang f9dc3337f9 Recheck the container's state to avoid attach block.
If use docker attach command to attach to a stop container, it will return
"You cannot attach to a stopped container" error, it's ok, but when
attach to a running container, it(docker attach) use inspect to check
the container's state, if it pass the state check on the client side,
and then the container is stopped, docker attach command still attach to
the container and not exit.

Signed-off-by: Shukui Yang <yangshukui@huawei.com>
2017-05-20 08:02:06 +08:00
.github Add github templates and initial poule configuration 2017-05-09 16:57:46 +02:00
cli Recheck the container's state to avoid attach block. 2017-05-20 08:02:06 +08:00
cmd/docker Display proper version information 2017-05-09 14:22:51 -07:00
dockerfiles osx cross 2017-05-13 13:47:00 -04:00
opts Update cli imports to using local package 2017-05-15 14:45:19 +02:00
scripts Update the README 2017-05-15 14:07:30 -04:00
vendor Re-vendor docker/docker. 2017-05-16 14:31:19 -07:00
.dockerignore make go build and docker build operations faster 2017-04-27 15:06:57 -07:00
.gitignore Support building a dynbinary 2017-05-12 13:34:06 -04:00
LICENSE Add project files 2017-04-17 17:49:33 -04:00
MAINTAINERS Add project files 2017-04-17 17:49:33 -04:00
Makefile Update the README 2017-05-15 14:07:30 -04:00
NOTICE Add project files 2017-04-17 17:49:33 -04:00
README.md Update the README 2017-05-15 14:07:30 -04:00
VERSION Add VERSION file 2017-05-15 19:20:12 +02:00
circle.yml osx cross 2017-05-13 13:47:00 -04:00
docker.Makefile Update the README 2017-05-15 14:07:30 -04:00
gometalinter.json Add line length linter 2017-05-08 15:57:56 -04:00
poule.yml Add github templates and initial poule configuration 2017-05-09 16:57:46 +02:00
vendor.conf Re-vendor docker/docker. 2017-05-16 14:31:19 -07:00

README.md

build status

docker/cli

This repository is the home of the cli used in the Docker CE and Docker EE products.

Development

docker/cli is developed using Docker.

Build a linux binary:

$ make -f docker.Makefile binary

Build binaries for all supported platforms:

$ make -f docker.Makefile cross

Run all linting:

$ make -f docker.Makefile lint

`

In-container development environment

Start an interactive development environment:

$ make -f docker.Makefile shell

In the development environment you can run many tasks, including build binaries:

$ make binary

Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Docker may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

docker/cli is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.