I'm ramping up on docker, and I would like to create a "internet only" network for one of my container: I want this container to only be able to access internet, it must not have any access to other containers or to the host.
I've thought about using iptables to do so, but I think directly creating a docker network would be more efficient and elegant. Nevertheless, I haven't been able to find how to create this "internet only" docker network.
Could you help me on this ?
Thanks !