Mam problem z twoją metodą , wykonuję wszystko jak w opisie ale niestety jest problem , po wykonaniulesny8 pisze: ↑pt lis 23, 2018 10:31 pm Ja mam Raspbian Strech instalowanego z NOOBS Lite. Ściągasz i rozpakowujesz na karcie. Kartę aplikujesz do slotu w RaspberryPi, podłączasz monitor i klawisze na chwilę i uruchamiasz. Wybierasz Raspbian Stretch Lite i instalujesz, czekasz kilka minut, a potem wypracowana metoda, kopiuj-wklej
Kod: Zaznacz cały
sudo pip install docker-compose
Kod: Zaznacz cały
sudo: pip: command not found
Stosując się do twojej metody zauważyłem wcześniej że podczs wykonywania
Kod: Zaznacz cały
sudo apt-get -y install python-pip && pip
Kod: Zaznacz cały
Err:34 http://archive.raspberrypi.org/debian buster/main armhf python-pip-whl al l 18.1-5+rpt1
Temporary failure resolving 'archive.raspberrypi.org'
Get:35 http://archive.raspberrypi.org/debian buster/main armhf python-pip all 18 .1-5+rpt1 [215 kB]
Fetched 34.5 MB in 10s (3,370 kB/s)
E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/p/python-pip/ python-pip-whl_18.1-5+rpt1_all.deb Temporary failure resolving 'archive.raspber rypi.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
Kod: Zaznacz cały
curl -sSL https://get.docker.com | sh
Kod: Zaznacz cały
# Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a
+ sudo -E sh -c apt-get update -qq >/dev/null
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease Temporary failure resolving 'raspbian.raspberrypi.org'
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease Temporary failure resolving 'archive.raspberrypi.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ [ -n ]
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
+ sudo -E sh -c docker version
Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 06:18:36 2019
OS/Arch: linux/arm
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 06:12:41 2019
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker pi
Remember that you will have to log out and back in for this to take effect!
WARNING: Adding a user to the "docker" group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
W czym problem ?