Container
Run and manage containers.
Usage:
lightning container [OPTIONS] COMMAND [ARGS]...Commands
Command |
Description |
|---|---|
Delete the docker container NAME. |
|
Download a docker container from a teamspace. |
|
Display the list of available containers. |
|
Upload a container to Lightning AI’s container registry. |
lightning container delete
Delete the docker container NAME.
Usage:
lightning container delete [OPTIONS] NAMEArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Container name to delete. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
|
The teamspace to delete the container from. Should be specified as {owner}/{name}. Defaults to the configured teamspace. |
|
— |
no |
— |
Delete without prompting for confirmation. |
lightning container download
Download a docker container from a teamspace.
Usage:
lightning container download [OPTIONS] CONTAINERArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Container name to download. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
— |
The name of the teamspace to download the container from |
|
|
no |
|
The tag of the container to download. |
|
|
no |
— |
The name of the cloud account to download the Container from. |
lightning container list
Display the list of available containers.
Usage:
lightning container list [OPTIONS]Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
— |
the teamspace to list containers from. Should be specified as {owner}/{name}. Defaults to the configured teamspace. |
|
|
no |
— |
The name of the cloud account where containers are stored in. |
|
— |
no |
— |
Output as JSON. |
lightning container upload
Upload a container to Lightning AI’s container registry.
Usage:
lightning container upload [OPTIONS] CONTAINERArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
Container name to upload. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
|
The tag of the container to upload. |
|
|
no |
— |
The teamspace the studio is part of. Should be of format <OWNER>/<TEAMSPACE_NAME>. If not specified, tries to infer from the environment (e.g. when run from within a Studio.) |
|
|
no |
— |
The name of the cloud account to store the Container in. |
|
|
no |
|
This is the platform the container pulled and push to Lightning AI will run on. |
Was this page helpful?
Thanks for the feedback.