mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Move the --farm flag to farm build command
The option `farm` which is used to specify the farm to be used, is moved to farm build command from farm command. closes #20752 Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
This commit is contained in:
7
docs/source/markdown/options/farm.md
Normal file
7
docs/source/markdown/options/farm.md
Normal file
@ -0,0 +1,7 @@
|
||||
####> This option file is used in:
|
||||
####> podman farm build
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--farm**
|
||||
|
||||
This option specifies the name of the farm to be used in the build process.
|
@ -89,6 +89,10 @@ It does not affect _/etc/resolv.conf_ in the final image.
|
||||
|
||||
@@option env.image
|
||||
|
||||
@@option farm
|
||||
|
||||
This option specifies the name of the farm to be used in the build process.
|
||||
|
||||
@@option file
|
||||
|
||||
@@option force-rm
|
||||
@ -214,9 +218,9 @@ Build only on farm nodes that match the given platforms.
|
||||
```
|
||||
$ podman farm build --local -t name -f /path/to/containerfile .
|
||||
|
||||
$ podman farm --farm build myfarm -t name .
|
||||
$ podman farm build --farm myfarm -t name .
|
||||
|
||||
$ podman farm --farm myfarm build --cleanup -t name .
|
||||
$ podman farm build --farm myfarm --cleanup -t name .
|
||||
|
||||
$ podman farm build --platforms arm64,amd64 --cleanup -t name .
|
||||
```
|
||||
|
Reference in New Issue
Block a user