docker scout environment
|Manage environments (experimental)
docker scout environment [ENVIRONMENT] [IMAGE]
docker scout env
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.
docker scout environment command lists the environments.
If you pass an image reference, the image is recorded to the specified environment.
Once recorded, environments can be referred to by their name. For example,
you can refer to the
production environment with the
docker scout compare
command as follows:
$ docker scout compare --to-env production
|Namespace of the Docker organization
|Write the report to a file
|Platform of image to record
$ docker scout environment
$ docker scout environment staging
$ docker scout environment staging namespace/repo:stage-latest --platform linux/amd64
✓ Successfully recorded namespace/repo:stage-latest in environment staging