images
This command lists the images of the active environment, or the the visible images of the selected one.
Usage
bx images [-a] [--help] [<environment>]
Parameters and inputs
- Parameters
- Inputs
| Shorthand | Long version | Description |
|---|---|---|
-a | --all | List all versions |
--help | Display this help message and exit |
| Input | Description | Required |
|---|---|---|
<environment> | Environment to list its visible images | false |
Examples
Show latest versions
By default, the bx images command shows only the latest images of the environment sorting the result alphabetically.
$ bx images
IMAGE CREATED SIZE
batchx@tutorial/hello-world:1.0.1 3 hours ago 27.5 MB
Show all versions
The -a parameter makes the command return all image versions sorted chronologically.
$ bx images -a
IMAGE CREATED SIZE
batchx@tutorial/hello-world:1.0.1 3 hours ago 27.5 MB
batchx@tutorial/hello-world:1.0.0 5 hours ago 27.5 MB
Show visible versions from another environment
The bx images can show images shared from a different environment. In this example, we can see images that have been shared from the test environment .
$ bx images test
IMAGE CREATED SIZE
test@bioinformatics/bwa/index:0.0.5 4 months ago 440.1 MB
test@bioinformatics/bwa/mem:1.0.0 2 weeks ago 468.8 MB