mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Add --compat-volumes option to build and farm build
Add the `--compat-volumes option from Buildah v1.37 into Podman in preparation of Podman v5.2 Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
This commit is contained in:
11
docs/source/markdown/options/compat-volumes.md
Normal file
11
docs/source/markdown/options/compat-volumes.md
Normal file
@ -0,0 +1,11 @@
|
||||
####> This option file is used in:
|
||||
####> podman build, farm build
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--compat-volumes**
|
||||
|
||||
Handle directories marked using the VOLUME instruction (both in this build, and
|
||||
those inherited from base images) such that their contents can only be modified
|
||||
by ADD and COPY instructions. Any changes made in those locations by RUN
|
||||
instructions will be reverted. Before the introduction of this option, this
|
||||
behavior was the default, but it is now disabled by default.
|
@ -92,6 +92,8 @@ host. (Examples: arm, arm64, 386, amd64, ppc64le, s390x)
|
||||
|
||||
@@option cgroupns.image
|
||||
|
||||
@@option compat-volumes
|
||||
|
||||
#### **--compress**
|
||||
|
||||
This option is added to be aligned with other containers CLIs.
|
||||
|
@ -57,6 +57,8 @@ Note: Since the images built are directly pushed to a registry, the user must pa
|
||||
|
||||
Remove built images from farm nodes on success (Default: false).
|
||||
|
||||
@@option compat-volumes
|
||||
|
||||
@@option cpp-flag
|
||||
|
||||
@@option cpu-period
|
||||
|
Reference in New Issue
Block a user