Don't setup network namespace as we're using the hosts one
This commit is contained in:
parent
4e9d39af9e
commit
a6916741fc
2 changed files with 0 additions and 2 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue