joshjdevl
joshjdevl

Reputation: 7222

Docker Network Namespace

I'm using docker ubuntu:quantal

It seems that network namespaces is not enabled. How can I enable network namespaces?

root@e5e9957daa67:~# ip netns add blue

Failed to create a new network namespace: Operation not permitted

Upvotes: 0

Views: 1833

Answers (1)

jpetazzo
jpetazzo

Reputation: 15511

It looks like you're running in a container. If you want to be able to handle namespaces and such, your container has to be started with the -privileged flag.

Upvotes: 3

Related Questions