跳到主要内容

Image Commands: image

Commands

CommandUsageDescription
listbohr image list [flags]List private images or a public image category
searchbohr image search <keyword>Search public images
getbohr image get <id>Get image details
pullbohr image pull <image_address> [flags]Pull an image to local Docker
deletebohr image delete <imageId>...Delete private images

List, search, and inspect

bohr image list
bohr image list --type "DeePMD-kit" -o json
bohr image search pytorch
bohr image get 4567

Without --type, list returns private images. Public category names are supplied by the platform and may change; use search when you do not know the category.

Pull to local Docker

bohr image pull registry.dp.tech/dptech/deepmd-kit:3.0.0b3-cuda12.1

The local Docker daemon must be running. pull supports --timeout with a default of 30m. The CLI authenticates to the Bohrium registry and does not print registry credentials.

Delete

bohr image delete 123 234

Only images you are allowed to manage can be deleted. Deletion is destructive and requires confirmation.