Docker CLI plugin to detect base images of local or remote container images.
Installation
- Download the plugin binary from the release page
- Unzip the archive
- Copy/move the binary into
$HOME/.docker/cli-plugins
Usage
docker base login
To authenticate with the Atomist data plane, use the following command:
$ docker base login --workspace <workspace id> --api-key <api key>
Authentication is not required. If not authenticated, the plugin will only use public data from Docker Official Images,
Docker Verified Publishers or Docker-sponsored Open Source.
Visit dso.docker.com to obtain a workspace id
and api key
.
docker base logout
To remove the authentication to the Atomist data plane, use the following command:
$ docker base logout
docker base detect
To detect base images for local or remote images, use the following command:
$ docker base detect <image>