"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/buildah-run.md" between
buildah-1.21.4.tar.gz and buildah-1.22.0.tar.gz

About: Buildah is a tool that facilitates building Open Container Initiative (OCI) container images.

buildah-run.md  (buildah-1.21.4):buildah-run.md  (buildah-1.22.0)
skipping to change at line 61 skipping to change at line 61
Location of CNI configuration files which will dictate which plugins will be Location of CNI configuration files which will dictate which plugins will be
used to configure network interfaces and routing inside the running container, used to configure network interfaces and routing inside the running container,
if the container will be run in its own network namespace, and networking is if the container will be run in its own network namespace, and networking is
not disabled. not disabled.
**--cni-plugin-path**=*directory[:directory[:directory[...]]]* **--cni-plugin-path**=*directory[:directory[:directory[...]]]*
List of directories in which the CNI plugins which will be used for configuring List of directories in which the CNI plugins which will be used for configuring
network namespaces can be found. network namespaces can be found.
**--env**, **-e** *env=value*
Temporarily add a value (e.g. env=*value*) to the environment for the running
process. Unlike `buildah config --env`, the environment will not persist to
later calls to `buildah run` or to the built image. Can be used multiple times.
**--hostname** **--hostname**
Set the hostname inside of the running container. Set the hostname inside of the running container.
**--ipc** *how* **--ipc** *how*
Sets the configuration for the IPC namespaces for the container. Sets the configuration for the IPC namespaces for the container.
The configured value can be "" (the empty string) or "private" to indicate The configured value can be "" (the empty string) or "private" to indicate
that a new IPC namespace should be created, or it can be "host" to indicate that a new IPC namespace should be created, or it can be "host" to indicate
that the IPC namespace in which `buildah` itself is being run should be reused, that the IPC namespace in which `buildah` itself is being run should be reused,
skipping to change at line 265 skipping to change at line 271
`shared:X` means the mount is `shared`, `master:X` means the mount is `slave` an d if `shared:X` means the mount is `shared`, `master:X` means the mount is `slave` an d if
nothing is there that means the mount is `private`. <sup>[[1]](#Footnote1)</sup> nothing is there that means the mount is `private`. <sup>[[1]](#Footnote1)</sup>
To change propagation properties of a mount point use the `mount` command. For To change propagation properties of a mount point use the `mount` command. For
example, to bind mount the source directory `/foo` do example, to bind mount the source directory `/foo` do
`mount --bind /foo /foo` and `mount --make-private --make-shared /foo`. This `mount --bind /foo /foo` and `mount --make-private --make-shared /foo`. This
will convert /foo into a `shared` mount point. The propagation properties of th e source will convert /foo into a `shared` mount point. The propagation properties of th e source
mount can be changed directly. For instance if `/` is the source mount for mount can be changed directly. For instance if `/` is the source mount for
`/foo`, then use `mount --make-shared /` to convert `/` into a `shared` mount. `/foo`, then use `mount --make-shared /` to convert `/` into a `shared` mount.
**--workingdir** *directory*
Temporarily set the working *directory* for the running process. Unlike
`buildah config --workingdir`, the workingdir will not persist to later
calls to `buildah run` or the built image.
NOTE: End parsing of options with the `--` option, so that other NOTE: End parsing of options with the `--` option, so that other
options can be passed to the command inside of the container. options can be passed to the command inside of the container.
## EXAMPLE ## EXAMPLE
buildah run containerID -- ps -auxw buildah run containerID -- ps -auxw
buildah run --hostname myhost containerID -- ps -auxw buildah run --hostname myhost containerID -- ps -auxw
buildah run containerID -- sh -c 'echo $PATH' buildah run containerID -- sh -c 'echo $PATH'
 End of changes. 2 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)