Docker Community Forums

Share and learn in the Docker community.

How to bind a port in a “host” network mode from a container run by a rootless dockerd?

I have a problem in publishing to my host a port from container run in a “host” network mode by rootless dockerd.

Detailed question is here: https://serverfault.com/questions/1019889/how-to-bind-a-port-in-a-host-network-mode-from-a-container-run-by-a-rootless-d

Help me please. Thanks.

–net=host is unsupported in Rootless as of Docker 19.03: https://docs.docker.com/engine/security/rootless/#networking-errors