Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support to install Docker on raspbian/jessie #24815
- What I did
- How I did it
- How to verify it
Login to the Raspberry Pi with username=
- Tested on a RASPBIAN JESSIE
- Known Issues
- Description for the changelog
Add feature to install the Docker Engine on a Raspberry Pi directly from http://get.docker.com.
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Dieter Reuter firstname.lastname@example.org
I'm also in favor of having a better default than devicemapper:
@icecrime dropping a Raspbian specific systemd unit file to
Or we just curl/wget the default systemd unit file and sed it, just an idea. Like this style:
Maybe I'll try this approach for a short test run. Edit: done with this commit 84ff895, and it works great.
@tiborvass hmm, then you're out of luck. ;)
But it doesn't work right now completely without having the .deb packages in the repo. I just simulated everything locally on a RPi and installed the .deb package the following way:
That's exactly the reason why I'd like to have the .deb package in
referenced this pull request
Jul 21, 2016
@crosbymichael First, we need to fix the build process on ARM, see #25192. Second, we have to build the Debian packages for ARM and have to upload/release it to the official Docker APT repository. And finally we can merge this PR to activate the install script which is compatible to install Docker directly on a standard Raspbian. That's all I think.
And as a bonus point we can add the Raspbian support even into Docker Machine with this PR docker/machine#3605.
Aug 10, 2016
8 checks passed
I know this is being pedantic, but in the instructions above, chmod +x install.sh before the execution of install.sh. It'll save someone some time. Especially people like me. The error without the chmod is 'file not found', not "not executable"
You do have it in the video.
FYI, works as is on a Raspberry Pi 2 running
thanos@devBox:~ $ uname -a Linux devBox 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux thanos@devBox:~ $ head -n 3 /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" [...] thanos@devBox:~ $ sudo docker info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 17.05.0-ce Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host macvlan null overlay Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: 9048e5e50717ea4497b757314bad98ea3763c145 runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228 init version: 949e6fa Kernel Version: 4.9.41-v7+ Operating System: Raspbian GNU/Linux 9 (stretch) OSType: linux Architecture: armv7l CPUs: 4 Total Memory: 748.9MiB Name: devBox ID: P2XX:MFNK:SFYP:HKD5:WM6U:434O:LVW4:5OYP:Z4QF:WO4E:DWE5:7Q73 Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false WARNING: No swap limit support WARNING: No cpu cfs quota support WARNING: No cpu cfs period support WARNING: No cpuset support thanos@devBox:~ $