docker-client icon indicating copy to clipboard operation
docker-client copied to clipboard

verify to behave like the official cli

Open gesellix opened this issue 9 years ago • 1 comments

e.g. check the environment variable support and default behaviours: https://docs.docker.com/engine/reference/commandline/cli/#environment-variables

List of relevant properties:

  • [x] DOCKER_API_VERSION The API version to use (e.g. 1.19)
  • [x] DOCKER_CONFIG The location of your client configuration files.
  • [x] DOCKER_CERT_PATH The location of your authentication keys.
  • [ ] DOCKER_DRIVER The graph driver to use.
  • [x] DOCKER_HOST Daemon socket to connect to.
  • [ ] DOCKER_NOWARN_KERNEL_VERSION Prevent warnings that your Linux kernel is unsuitable for Docker.
  • [ ] DOCKER_RAMDISK If set this will disable ‘pivot_root’.
  • [x] DOCKER_TLS_VERIFY When set Docker uses TLS and verifies the remote.
  • [ ] DOCKER_CONTENT_TRUST When set Docker uses notary to sign and verify images. Equates to --disable-content-trust=false for build, create, pull, push, run.
  • [ ] DOCKER_CONTENT_TRUST_SERVER The URL of the Notary server to use. This defaults to the same URL as the registry.
  • [ ] DOCKER_TMPDIR Location for temporary Docker files.

gesellix avatar Apr 29 '16 19:04 gesellix

Note: the DOCKER_API_VERSION wasn't really supposed to be used as general version selector. Need to watch this issue: https://github.com/docker/docker/issues/25498

gesellix avatar Aug 31 '16 13:08 gesellix