docker scout environment
Manage environments (experimental)
This command is experimental
Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.
Usage
docker scout environment [ENVIRONMENT] [IMAGE]
Description
The docker scout environment
command lists the environments and records images to it.
Once recorded, environments can be referred to by their name, eg. in the docker scout compare
command using --to-env
.`
Options
Option | Short | Default | Description |
---|---|---|---|
--org | Namespace of the Docker organization | ||
--output | -o | Write the report to a file. | |
--platform | Platform of image to record |
Examples
List existing environments
$ docker scout environment
prod
staging
List images of an environment
$ docker scout environment staging
namespace/repo:tag@sha256:9a4df4fadc9bbd44c345e473e0688c2066a6583d4741679494ba9228cfd93e1b
namespace/other-repo:tag@sha256:0001d6ce124855b0a158569c584162097fe0ca8d72519067c2c8e3ce407c580f
Record an image to an environment, for a specific platform
$ docker scout environment staging namespace/repo:stage-latest --platform linux/amd64
✓ Pulled
✓ Successfully recorded namespace/repo:stage-latest in environment staging
Early Access
Docker Scout secures the complete software supply chain by providing image analysis, real-time vulnerability identification, contextual remediation recommendations, and more. Now available in early access.
Learn more on the Docker Scout product pageopen_in_new.