import
This command imports an image stored in a internet-accessible Docker registry into BatchX.
caution
Importing images from private repositories will require adding access credentials first. Check the add-token command for more info.
Usage
bx import [--help] <image>
Parameters and inputs
- Parameters
- Inputs
| Shorthand | Long version | Description |
|---|---|---|
--help | Display this help message and exit |
| Input | Description | Required |
|---|---|---|
<image> | Docker image URL | true |
Examples
Importing from Docker Hub
$ bx import batchx/helloworld:1.0.0
Importing from AWS ECR
$ bx import 09345723489.dkr.ecr.eu-west-1.amazonaws.com/bx/tutorial:helloworld:1.0.0