Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to install Docker on raspberry pie

Shulou Source: shulou.com Published: 2022-06-01 22:59:54 11月12日 Update

This article is about how to install Docker on a raspberry pie. I think it is very practical, so I share it with you. I hope you can get something after reading this article.

Install Docker on raspberry pie.

If raspberry pie is used as a server, you need to set up a static IP address. The latest version uses dhcpcd for address allocation, so modify the configuration of the / etc/dhcpcd.conf file, please refer to the settings in this file, and then restart the system.

1. Official version

Official ARM support for Docker is ready, and the latest version can be installed directly on raspberry pie.

Curl-sSL https://get.docker.com | sh

2 、 Hypriot OS

Independently compiled server version, fast, new version, some small bug.

Https://blog.phpgao.com/docker_on_raspberry_pi.html

3 、 Alpine

Independently compiled server version, fast, the version is very new, some small bug.

Https://my.oschina.net/u/2306127/blog?&search=Alpine

Https://my.oschina.net/u/2306127/blog/1584194

More ways to play:

Https://www.raspberrypi.org/blog/docker-comes-to-raspberry-pi/

Note that raspberry pie can use images on Dockerhub.com (there are already more than 3, 000), but it needs to be with-rpi, because x86 and Arm have different instruction sets and storage formats, but the service interface of Docker Registry is the same.

Note:

Cgroup error occurs when using the latest version of Docker-CE 17.11. For solution, please refer to: https://my.oschina.net/u/2306127/blog/1591096

The above is how to install Docker on the raspberry pie. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Tags: Version raspberry service more server address official file knowledge article speed reference independent compiled practical method multiple that is work meeting very soon Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Xiaomi Linux Docker OPPO Reno