docker run -p 800:80 -p 2222:22 -p 4443:443 -it 68715929d32a /bin/bash If ports do not work check : sysctl net.ipv4.ip_forward if you get: net.ipv4.ip_forward = 0 then issue : sysctl -w net.ipv4.ip_forward=1 net.ipv4.ip_forward = 1if you get the error : docker: Error response from daemon: driver failed programming external connectivity on endpoint amazing_williams (44e256a6039741b20e4124800702d9794d69fb6be9da71ba25059de4dd527121):…
starting a machine in Docker with ports
Posted on