Merge pull request #23814 from ruihe774/quadlet-network-container

quadlet: support container network reusing
This commit is contained in:
openshift-merge-bot[bot]
2024-09-02 16:23:01 +00:00
committed by GitHub
5 changed files with 51 additions and 9 deletions

View File

@ -638,6 +638,10 @@ As a special case, if the `name` of the network ends with `.network`, a Podman n
a dependency on the `$name-network.service`. Such a network can be automatically
created by using a `$name.network` Quadlet file.
Another special case is that if the `name` ends with `.container`,
the container will reuse the network stack of another container created by `$name.container`.
The generated systemd service contains a dependency on `$name.service`.
This key can be listed multiple times.
### `NetworkAlias=`