mirror of
https://github.com/containers/podman.git
synced 2025-06-26 12:56:45 +08:00
Merge pull request #20483 from vrothberg/RUN-1934
container.conf: support attributed string slices
This commit is contained in:
@ -560,6 +560,13 @@ considered insecure.
|
||||
Do not use existing cached images for the container build. Build from the start
|
||||
with a new set of cached layers.
|
||||
|
||||
|
||||
#### **--no-hostname**
|
||||
|
||||
Do not create the _/etc/hostname_ file in the container for RUN instructions.
|
||||
|
||||
By default, Buildah manages the _/etc/hostname_ file, adding the container's own hostname. When the **--no-hostname** option is set, the image's _/etc/hostname_ will be preserved unmodified if it exists.
|
||||
|
||||
@@option no-hosts
|
||||
|
||||
This option conflicts with **--add-host**.
|
||||
|
Reference in New Issue
Block a user