Skip to main content
peanball.net
  1. Reading List/
Sharing Network Namespaces in Docker
<time datetime="2022-08-24 14:38:13 &#43;0200 &#43;0200">24 August 2022</time><span class="px-2 text-primary-500">&middot;</span><span>54 words</span><span class="px-2 text-primary-500">&middot;</span><span title="Reading time">1 min</span>

Sharing Network Namespaces in Docker

A guide on how to share the network namespace with another container. This is how a Pod in Kubernetes contains multiple containers. If you’re not working with Kubernetes but e.g. with Docker or docker-compose, this works in the same way pretty much.

Kubernetes does a few more things to make a Pod, I’m sure.