-
Add the following in /etc/dhcpcd.conf:
-
You can use a different ip config as well
interface wlan0 static ip_address=192.168.0.10/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1
-
Backup:
-
use lsblk to check the SD card disk name(/dev/mmcblk0 here)
sudo dd if=/dev/mmcblk0 of=~/SDCardBackup.img
-
Restore:
-
Unmount all partitions of the SD card
sudo dd bs=4M if=~/SDCardBackup.img of=/dev/mmcblk0 sudo sync
-
Installation:
curl -sSL get.docker.com | sh
-
Run Docker as non-root user(default user:pi):
sudo usermod -aG docker pi newgrp docker
-
Enable docker at startup:
sudo systemctl enable docker sudo systemctl start docker