diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-12 19:40:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 19:40:31 +0100 |
commit | 2aa6a8577d088271251604b028100f00a442f5cd (patch) | |
tree | ba5f781412045c7bbd7a3313e306b36c4b92b208 /libpod/container_config.go | |
parent | 7774f63319be64a0a96fb7ec7c9f0b7c28faac03 (diff) | |
parent | 8d56eb5342ad8afa35750f7f14791c44e37a8c30 (diff) | |
download | podman-2aa6a8577d088271251604b028100f00a442f5cd.tar.gz podman-2aa6a8577d088271251604b028100f00a442f5cd.tar.bz2 podman-2aa6a8577d088271251604b028100f00a442f5cd.zip |
Merge pull request #8298 from mheon/db_network_connect
Add support for network connect / disconnect to DB
Diffstat (limited to 'libpod/container_config.go')
-rw-r--r-- | libpod/container_config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go index d73fbb42f..cc3ad25ea 100644 --- a/libpod/container_config.go +++ b/libpod/container_config.go @@ -236,6 +236,9 @@ type ContainerNetworkConfig struct { // Will be appended to host's host file HostAdd []string `json:"hostsAdd,omitempty"` // Network names (CNI) to add container to. Empty to use default network. + // Please note that these can be altered at runtime. The actual list is + // stored in the DB and should be retrieved from there; this is only the + // set of networks the container was *created* with. Networks []string `json:"networks,omitempty"` // Network mode specified for the default network. NetMode namespaces.NetworkMode `json:"networkMode,omitempty"` |