aboutsummaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-17 10:45:23 -0400
committerGitHub <noreply@github.com>2021-05-17 10:45:23 -0400
commit62a7d4b61edb64ed92b63a4d65bde9f785fd1e19 (patch)
treebbc798e98665c1dc9fcb512af714d4079c89e3ee /libpod/container.go
parent9d2bc4cae81889096f9baa66b1f9f48d6dcd942f (diff)
parentc8dfcce6db0adfa2f91d979271e8c2725eb753a6 (diff)
downloadpodman-62a7d4b61edb64ed92b63a4d65bde9f785fd1e19.tar.gz
podman-62a7d4b61edb64ed92b63a4d65bde9f785fd1e19.tar.bz2
podman-62a7d4b61edb64ed92b63a4d65bde9f785fd1e19.zip
Merge pull request #9972 from bblenard/issue-5651-hostname-for-container-gateway
Add host.containers.internal entry into container's etc/hosts
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index c49d8feeb..bad91d54f 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -126,6 +126,8 @@ type Container struct {
// This is true if a container is restored from a checkpoint.
restoreFromCheckpoint bool
+
+ slirp4netnsSubnet *net.IPNet
}
// ContainerState contains the current state of the container