Skip to content

Commit

Permalink
network: add support for network-specific options
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zimmermann <[email protected]>
  • Loading branch information
M1cha committed Nov 12, 2024
1 parent 2b0e652 commit 818a19f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/network/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ pub struct PerNetworkOptions {
/// MAC address for the container interface.
#[serde(rename = "static_mac")]
pub static_mac: Option<String>,

/// Driver-specific options for this container.
#[serde(rename = "options")]
pub options: Option<HashMap<String, String>>,
}

/// PortMapping is one or more ports that will be mapped into the container.
Expand Down

0 comments on commit 818a19f

Please sign in to comment.