Docker install
creinemann opened this issue · comments
Not sure why, but I could not get
apt-get install docker.io docker-compose
to run, I tried it on and extra PI with a fresh install of raspberian as well, ended up using this route and it all worked.
-
Install Docker
curl -sSL https://get.docker.com | sh -
Add permission to Pi User to run Docker Commands
sudo usermod -aG docker pi
Reboot here or run the next commands with a sudo
-
Test Docker installation
docker run hello-world -
IMPORTANT! Install proper dependencies
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser -
Install Docker Compose
sudo pip3 install docker-compose
Thanks! Will improve the README
I tried all this and couldn't get it to work. Tried multiple times. I was either getting errors in the test docker step or during the docker-compose (errors in the crypto wheel part). Assuming I probably need to start from a fresh install.
I tried all this and couldn't get it to work. Tried multiple times. I was either getting errors in the test docker step or during the docker-compose (errors in the crypto wheel part). Assuming I probably need to start from a fresh install.
Im not sure I was getting same error, anyway Ive solved installing manually rust compiler as following:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
pip3 install docker-compose