Setting up DockSTARTer on Raspberry Pi 4

DockSTARTer is a great way to easily install apps using Docker and Docker Compose

Some base commands to get the system updated and ready for docker.

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install curl git
sudo reboot

Once those packages have installed and you have rebooted, switch the iptables to legacy because debian uses nftables by default. One command per line.

(check your iptables with)

sudo iptables -L

Set the iptables to legacy mode for Docker compatibility.

$ sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
$ sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
$ sudo update-alternatives --set arptables /usr/sbin/arptables-legacy
$ sudo update-alternatives --set ebtables /usr/sbin/ebtables-legacy

Your iptables should now look like this

 Chain INPUT (policy ACCEPT)
 target     prot opt source               destination

 Chain FORWARD (policy ACCEPT)
 target     prot opt source               destination

 Chain OUTPUT (policy ACCEPT)
 target     prot opt source               destination

Installing Docker & Dockstarter. We will be installing Docker as referenced in the Official Convenience Script

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Add pi user to docker group

sudo usermod -aG docker pi

After install of docker do a reboot to be safe.

sudo reboot

Now finally install the DockSTARTer Script

bash -c "$(curl -fsSL https://get.dockstarter.com)"

And a final reboot

sudo reboot

To start DockSTARTer all you need to do is type

ds

Now to setting up and configuration.

Hello there! My name is Darren and i am a hobbyist/homelab/crypto enthusiast. If you liked this post please consider signing up for a Digital Ocean account using my link and you will receive $100 in free credit while at the same time helping me to cover the costs of my servers. Thank you!

XCH: xch1hrumdza9u6slw5hz343p3yh954wvjs4rqnqdkq6huanctf0vytzqqkahxk
BTC: 1BVwmPMt6kxRe88EKhThJviFp3M4MhubTA
ETH: 0xa958d40518d76168BB795947Bf96AafD6bccc177
LTC: MBJdCsnZXDuXBYme6Ur7VFAeYw4LTFM9CP
BAT: 0xab574A09fFf2aa391658D3D048265ad1401cA7AF
DOGE: DBCchyovcTXSioWM392kKydJxY5nyECYFB
SCP: 9f2feed9f29f3f8035e4ae2a33837ae4affa0a5b5773bcc5a33a4abb041e82e2cccb318c78ef
Share This Guide!