Categories

Raspberry – Installation docker raspbian

root@raspberrypi:/home/pi# curl -sSL https://get.docker.com | sh
WARNING: raspbian is no longer updated @ https://get.docker.com/
Installing the legacy docker-engine package…
+ sh -c sleep 3; apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
Get:3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,533 kB]
Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
Get:5 http://archive.raspberrypi.org jessie/ui armhf Packages [58.9 kB]
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:6 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:7 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
Get:8 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
100% [3 Packages xz 0 B]

Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 52.2 kB in 8s (5,966 B/s)
Reading package lists… Done
Reading package lists…
Building dependency tree…
Reading state information…
The following extra packages will be installed:
aufs-tools cgroupfs-mount libapparmor1
The following NEW packages will be installed:
aufs-tools cgroupfs-mount docker-engine libapparmor1
0 upgraded, 4 newly installed, 0 to remove and 103 not upgraded.
Need to get 16.7 MB of archives.
After this operation, 83.0 MB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main aufs-tools armhf 1:3.2+20130722-1.1 [91.0 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main cgroupfs-mount all 1.1 [4,572 B]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libapparmor1 armhf 2.9.0-3 [58.1 kB]
Get:4 https://apt.dockerproject.org/repo/ raspbian-jessie/main docker-engine armhf 17.05.0~ce-0~raspbian-jessie [16.6 MB]
Fetched 16.7 MB in 3s (4,239 kB/s)
Selecting previously unselected package aufs-tools.
(Reading database … 112442 files and directories currently installed.)
Preparing to unpack …/aufs-tools_1%3a3.2+20130722-1.1_armhf.deb …
Unpacking aufs-tools (1:3.2+20130722-1.1) …
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack …/cgroupfs-mount_1.1_all.deb …
Unpacking cgroupfs-mount (1.1) …
Selecting previously unselected package libapparmor1:armhf.
Preparing to unpack …/libapparmor1_2.9.0-3_armhf.deb …
Unpacking libapparmor1:armhf (2.9.0-3) …
Selecting previously unselected package docker-engine.
Preparing to unpack …/docker-engine_17.05.0~ce-0~raspbian-jessie_armhf.deb …
Unpacking docker-engine (17.05.0~ce-0~raspbian-jessie) …
Processing triggers for man-db (2.7.0.2-5) …
Processing triggers for systemd (215-17+deb8u6) …
Setting up aufs-tools (1:3.2+20130722-1.1) …
Setting up cgroupfs-mount (1.1) …
Setting up libapparmor1:armhf (2.9.0-3) …
Setting up docker-engine (17.05.0~ce-0~raspbian-jessie) …
Processing triggers for libc-bin (2.19-18+deb8u7) …
Processing triggers for systemd (215-17+deb8u6) …
+ sh -c docker version
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:30:54 2017
OS/Arch: linux/arm

Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:30:54 2017
OS/Arch: linux/arm
Experimental: false

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 your-user

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.

root@raspberrypi:/home/pi#

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.