Add podman build --net alias for --network

Fixes #8332

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
Paul Holzinger 2020-11-12 22:04:54 +01:00
parent a65ecc70c2
commit 79f5aed316
2 changed files with 2 additions and 1 deletions

View File

@ -128,6 +128,7 @@ func buildFlags(flags *pflag.FlagSet) {
}
flags.AddFlagSet(&fromAndBudFlags)
_ = flags.MarkHidden("signature-policy")
flags.SetNormalizeFunc(buildahCLI.AliasFlags)
}
// build executes the build command.

View File

@ -394,7 +394,7 @@ The format of `LIMIT` is `<number>[<unit>]`. Unit can be `b` (bytes),
`k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you don't specify a
unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
#### **--network**=*mode*
#### **--network**=*mode*, **--net**
Sets the configuration for network namespaces when handling `RUN` instructions.