Docker – Alpine

docker alpine is a linux with all minimum networking files/tools to be able to test quick stuff.
docker run -it alpine = how to start it.

hostname -i
ip address
ip address | grep inet
ip route
ifconfig
nslookup
traceroute
whois
get
wget = download internet link
curl = browser in ascii any www

docker run -it -p 2222:22 =  publish internal 22 to external port 2222 ubuntu
apt-get install openssh-server
service ssh start
nano /etc/ssh/sshd_config , then enable root user by enabling PermitRootLogin yes

Leave a Comment