docs: add usage description

This commit is contained in:
椰子 2023-11-13 14:16:36 +08:00
parent a51d0ee809
commit 9e44df4973

View File

@ -1,3 +1,20 @@
# docker-tags
list all tags for a Docker image on a remote registry.
List all tags for a Docker image on a remote registry.
## Usage
Build and install binaries into `/${CARGO_HOME}/bin` by default.
```
cargo install --path . --locked
```
> Cargo install ignores Cargo.lock by default.
> Use `--locked` to match `cargo build --release` would build.
Change the location by `--root` option.
```
cargo install --path --locked --root /usr/local
```