starting a machine in Docker with ports

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):…

Querying network card information and status

Great tool for checking ethernet NIC information in linux: ethtool In ubuntu you might need to install it like so : sudo apt-get install ethtool The tool is easy to use:   Use ifconfig -a  to list nics then   root@wo1:~# ethtool p4p1 Settings for p4p1: Supported ports: [ TP ]        …

Troubleshooting network connection failures VMWare Workstation

Symptoms You are experiencing these issues: No network connectivity for a virtual machine Cannot connect to the Internet from the guest operating system Bridged, Host-only or Network Address Translation (NAT) networking fails Purpose This article helps you to determine the cause of networking problems affecting one or more virtual machines. The steps in this article…