doc: Highlight that --distro has to be used with --release

...unless the selected distro matches the host system.

https://github.com/containers/toolbox/pull/977
https://github.com/containers/toolbox/pull/986
This commit is contained in:
Ondřej Míchal 2021-12-17 16:24:20 +02:00 committed by Debarshi Ray
parent 4a652d1efd
commit ffd365342e
3 changed files with 5 additions and 2 deletions

View File

@ -82,7 +82,8 @@ confusion.
**--distro** DISTRO, **-d** DISTRO
Create a toolbox container for a different operating system DISTRO than the
host. Cannot be used with `--image`.
host. Cannot be used with `--image`. Has to be coupled with `--release` unless
the selected DISTRO matches the host.
**--image** NAME, **-i** NAME

View File

@ -32,6 +32,7 @@ The following options are understood:
**--distro** DISTRO, **-d** DISTRO
Enter a toolbox container for a different operating system DISTRO than the
host. Has to be coupled with `--release` unless the selected DISTRO matches the
host.
**--release** RELEASE, **-r** RELEASE

View File

@ -34,7 +34,8 @@ entirely customized containers created from custom-built images.
**--distro** DISTRO, **-d** DISTRO
Run command inside a toolbox container for a different operating system DISTRO
than the host.
than the host. Has to be coupled with `--release` unless the selected system
matches the host system.
**--release** RELEASE, **-r** RELEASE