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",
|
"--proc", "/proc",
|
||||||
"--unshare-ipc",
|
"--unshare-ipc",
|
||||||
"--unshare-pid",
|
"--unshare-pid",
|
||||||
"--unshare-net",
|
|
||||||
"--unshare-uts",
|
"--unshare-uts",
|
||||||
"--chdir", "/",
|
"--chdir", "/",
|
||||||
"--pid-file", utils::string_format("%s/pid", config::data_path()),
|
"--pid-file", utils::string_format("%s/pid", config::data_path()),
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,6 @@ int ContainerConnector::run(const std::string &path) {
|
||||||
NamespaceType::pid,
|
NamespaceType::pid,
|
||||||
NamespaceType::uts,
|
NamespaceType::uts,
|
||||||
NamespaceType::ipc,
|
NamespaceType::ipc,
|
||||||
NamespaceType::net,
|
|
||||||
}, pid);
|
}, pid);
|
||||||
|
|
||||||
// A few things we want to preset in our env within the container shell
|
// 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