Don't setup network namespace as we're using the hosts one

This commit is contained in:
Simon Fels 2016-06-23 12:50:49 +02:00
commit a6916741fc
2 changed files with 0 additions and 2 deletions

View file

@ -76,7 +76,6 @@ void Container::start() {
"--proc", "/proc",
"--unshare-ipc",
"--unshare-pid",
"--unshare-net",
"--unshare-uts",
"--chdir", "/",
"--pid-file", utils::string_format("%s/pid", config::data_path()),

View file

@ -57,7 +57,6 @@ int ContainerConnector::run(const std::string &path) {
NamespaceType::pid,
NamespaceType::uts,
NamespaceType::ipc,
NamespaceType::net,
}, pid);
// A few things we want to preset in our env within the container shell