docker/dtr overview
Estimated reading time: 1 minuteThis tool has commands to install, configure, and backup Docker Trusted Registry (DTR). It also allows uninstalling DTR. By default the tool runs in interactive mode. It prompts you for the values needed.
Additional help is available for each command with the ‘--help’ option.
Usage
docker run -it --rm docker/dtr \
command [command options]
If not specified, docker/dtr
uses the latest
tag by default. To work with a different version, specify it in the command. For example, docker run -it --rm docker/dtr:2.6.0
.
Commands
Option | Description |
---|---|
install | Install Docker Trusted Registry |
join | Add a new replica to an existing DTR cluster |
reconfigure | Change DTR configurations |
remove | Remove a DTR replica from a cluster |
destroy | Destroy a DTR replica’s data |
restore | Install and restore DTR from an existing backup |
backup | Create a backup of DTR |
upgrade | Upgrade DTR 2.4.x cluster to this version |
images | List all the images necessary to install DTR |
emergency-repair | Recover DTR from loss of quorum |