Add global --override-arch and --override-os options

This e.g. allows accessing Linux images on macOS.
This commit is contained in:
Miloslav Trmač
2017-09-16 04:12:33 +02:00
parent 0543f551c7
commit e8fb01e1ed
5 changed files with 25 additions and 3 deletions

View File

@@ -43,6 +43,10 @@ Most commands refer to container images, using a _transport_`:`_details_ format.
**--registries.d** _dir_ use registry configuration files in _dir_ (e.g. for container signature storage), overriding the default path.
**--override-arch** _arch_ Use _arch_ instead of the architecture of the machine for choosing images.
**--override-os** _OS_ Use _OS_ instead of the running OS for choosing images.
**--help**|**-h** Show help
**--version**|**-v** print the version number