aboutsummaryrefslogtreecommitdiff
path: root/libpod/networking_unsupported.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-07-25 15:15:13 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-31 13:39:29 +0000
commitcfcd92847684fc65949350b7cdc4769ad1099d46 (patch)
treeafb9f946fb54fc990d83b9814b77e522b9bd4221 /libpod/networking_unsupported.go
parent5b9c60cc10f7dec6d0b030ad16646728f30a67e9 (diff)
downloadpodman-cfcd92847684fc65949350b7cdc4769ad1099d46.tar.gz
podman-cfcd92847684fc65949350b7cdc4769ad1099d46.tar.bz2
podman-cfcd92847684fc65949350b7cdc4769ad1099d46.zip
network: add support for rootless network with slirp4netns
slirp4netns is required to setup the network namespace: https://github.com/rootless-containers/slirp4netns Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1156 Approved by: rhatdan
Diffstat (limited to 'libpod/networking_unsupported.go')
-rw-r--r--libpod/networking_unsupported.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpod/networking_unsupported.go b/libpod/networking_unsupported.go
index e4c668f88..070985c47 100644
--- a/libpod/networking_unsupported.go
+++ b/libpod/networking_unsupported.go
@@ -6,6 +6,10 @@ import (
"github.com/projectatomic/libpod/pkg/inspect"
)
+func (r *Runtime) setupRootlessNetNS(ctr *Container) (err error) {
+ return ErrNotImplemented
+}
+
func (r *Runtime) setupNetNS(ctr *Container) (err error) {
return ErrNotImplemented
}