Problem scenario
You run a docker command, but you get "port bindings are not yet supported by rootless containers". What should you do?
Solution
Use sudo
before the Docker command.
Waning: The above is not recommend for security purposes. Only follow this direction (with sudo docker run…
), if the server is not that important or you are in a very secure network. One published book says you can use "sudo docker …
" as long as the server is not in production (page 43 of Docker Up and Running).