mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Merge pull request #28096 from m-horky/mhorky/quadlet-docs
docs(quadlet): Unify [Network] section on removal
This commit is contained in:
@@ -1421,9 +1421,8 @@ a network file named `$NAME.network`, the generated Podman network is called `sy
|
||||
the generated service file is `$NAME-network.service`. The `NetworkName` option allows for
|
||||
overriding this default name with a user-provided one.
|
||||
|
||||
Please note that stopping the corresponding service will not remove the podman network.
|
||||
In addition, updating an existing network is not supported.
|
||||
In order to update the network parameters you will first need to manually remove the podman network and then restart the service.
|
||||
Set `NetworkDeleteOnStop=true` to override the behavior and delete the network when the device is stopped.
|
||||
|
||||
Using network units allows containers to depend on networks being automatically pre-created. This is
|
||||
particularly interesting when using special options to control network creation, as Podman otherwise creates networks with the default options.
|
||||
|
||||
Reference in New Issue
Block a user