[tutorial] Raspberry Pi – Docker, Proxy, Let’s Encrypt, SUPLA, SUPLA-Scripts...
-
- Posts: 2814
- Joined: Mon Dec 11, 2017 9:43 pm
Na RPi 3 B+ na pewno działa. Problem jaki tam był to brak libffi-dev.
Czekam na kolejne Supla Offline Party
-
- Posts: 18354
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
W tej wersji jest od jakiegoś czasu problem z pakietami dla docker/ docker-compose.
Instalacja Dockera staje się karkołomna dla zwykłego usera.
Instalacja Dockera staje się karkołomna dla zwykłego usera.
-
- Posts: 227
- Joined: Fri Dec 01, 2017 12:44 pm
To które RPi najlepiej kupić....żeby było prosto i dla siebie....
-
- Posts: 18354
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Na dzień dzisiejszy wszystko instaluje się bez problemu dla wersji B3 (Broadcom BCM2837).
-
- Posts: 18354
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Czyli masz poprawną wersję.
-
- Posts: 227
- Joined: Fri Dec 01, 2017 12:44 pm
Code: Select all
pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Ign:3 https://download.docker.com/linux/raspbian 10 InRelease
Err:4 https://download.docker.com/linux/raspbian 10 Release
404 Not Found [IP: 52.84.198.41 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/raspbian 10 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@raspberrypi:~ $
Code: Select all
pi@raspberrypi:~ $ curl -sSL https://get.docker.com | sh
# Executing docker install script, commit: 2f4ae48
+ sudo -E sh -c apt-get update -qq >/dev/null
E: The repository 'https://download.docker.com/linux/raspbian 10 Release' does not have a Release file.
pi@raspberrypi:~ $
-
- Posts: 18354
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Wywal tego dockera z /etc/apt/sources.list
i spróbuj zainstalować docker compose za pomocą:
lub
... zgodnie z
https://github.com/SUPLA/supla-docker
i spróbuj zainstalować docker compose za pomocą:
Code: Select all
apt-get -y install python-pip && pip install docker-compose
Code: Select all
apt-get -y install git curl
curl -sSL https://get.docker.com | sh
curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
https://github.com/SUPLA/supla-docker
-
- Posts: 227
- Joined: Fri Dec 01, 2017 12:44 pm
Code: Select all
sudo apt -y upgrade
-
- Posts: 18354
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Jak już usunąłeś dockera ze źródeł to możesz uruchomić, ale może już "jesteś aktualny".
Code: Select all
apt-get update
apt-get upgrade