I have a question regarding running rootless containers with Docker-CE on RHEL8. I created a ngix container with the following command: docker run -d -p 8081:80 --name nginx3 -v $PWD:/test nginx
However the exposed port 8080 is not reachable from outside the host, unlike rootful mode were the port would be exposed to the outside world. I had to use the firewall command below to connect to my rootless container.
Firewall rule: sudo -s firewall-cmd --add-port=8081/tcp
Is there a way for rootless docker to automatically expose the ports above 1024 like if your running docker normaly as root?