2

Would it be possible to run a docker container inside an existing namespace ? I created a namespace using: ip netns add client Now I want to run a container (with a bridge or host network, whatever is possible) inside that namespace ?

Dave M
  • 4,494
  • 21
  • 30
  • 30
SandiJ
  • 31
  • 5

1 Answers1

1

I found a solution, instead of running the container in a newly created namespace II can simply run processes in the namespace that docker created for that container. This is how: https://www.thegeekdiary.com/how-to-access-docker-containers-network-namespace-from-host/

SandiJ
  • 31
  • 5