You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolvehashicorp#293 and hashicorp#358 adding ipv6_address, ipv4_address, static_ips and static_mac options for podman tasks.
Podman API version checks whether to set the properties directly or whether to use the new PerNetworkOptions framework.
ipv6_address and ipv4_address are provided for backwards compatibility, and for compatibility with docker. For Podman 4.0.0 these are merged into static_ips and sent as a PerNetorkOptions entry for the default network.
Added API version check, static mac support, new array-based option for static IPs to match the podman API
Trying moving the object to ContanerNetworkConfig
// PerNetworkOptions allows you to set options per network the container is
330
+
// attached to.
331
+
typePerNetworkOptionsstruct {
332
+
// Aliases contains a list of names which the dns server should resolve to this container. Should only be set when DNSEnabled is true on the Network. If aliases are set but there is no dns support for this network the network interface implementation should ignore this and NOT error. Optional.
333
+
Aliases []string`json:"aliases,omitempty"`
334
+
// InterfaceName for this container. Required in the backend. Optional in the frontend. Will be filled with ethX (where X is a integer) when empty.
0 commit comments