mirror of
https://github.com/containers/podman.git
synced 2026-06-06 06:45:15 -04:00
podman: add support for specifying MAC
I basically copied and adapted the statements for setting IP. Closes #1136 Signed-off-by: Jakub Filak <jakub.filak@sap.com>
This commit is contained in:
committed by
Giuseppe Scrivano
parent
455f5b7616
commit
2497b6c77b
@@ -76,6 +76,15 @@ a container is restored multiple times from an exported checkpoint with **--name
|
||||
Using **--ignore-static-ip** tells Podman to ignore the IP address if it was configured
|
||||
with **--ip** during container creation.
|
||||
|
||||
**--ignore-static-mac**
|
||||
|
||||
If the container was started with **--mac-address** the restored container also
|
||||
tries to use that MAC address and restore fails if that MAC address is already
|
||||
in use. This can happen, if a container is restored multiple times from an
|
||||
exported checkpoint with **--name, -n**.
|
||||
|
||||
Using **--ignore-static-mac** tells Podman to ignore the MAC address if it was
|
||||
configured with **--mac-address** during container creation.
|
||||
## EXAMPLE
|
||||
|
||||
podman container restore mywebserver
|
||||
|
||||
Reference in New Issue
Block a user