mirror of
https://github.com/containers/podman.git
synced 2025-09-26 16:25:00 +08:00

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
28 lines
577 B
Go
28 lines
577 B
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
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
|
|
}
|
|
|
|
func (r *Runtime) teardownNetNS(ctr *Container) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) createNetNS(ctr *Container) (err error) {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) getContainerNetworkInfo(data *inspect.ContainerInspectData) *inspect.ContainerInspectData {
|
|
return nil
|
|
}
|