Richard's home page

My resume

Network card stuff, incl. dhcp release/renew

sudo ifconfig enp0s3 down
ip a
sudo dhclient -v -r
sudo dhclient -v
sudo ssh-keygen -s /etc/ssh/ca_key -I "Kali" -n richard -V +720d -z 1 <client-cert.pub>

Docker server


 sudo systemctl edit docker.service

 [Service]
 ExecStart=
 ExecStart=/usr/bin/dockerd -H fd:// -H tcp://mercury.rac.local:2375

 sudo systemctl daemon-reload
 sudo systemctl restart docker.service
 

Docker client


 docker context create --docker host=ssh://richard@mercury.rac.local mercury