Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of offline installation of Docker in raspberry pie 4B raspberrypi

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of offline installation of Docker in raspberry pie 4B raspberrypi. In daily operation, I believe many people have doubts about the method of offline installation of Docker in raspberry pie 4B raspberrypi. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer your doubts about how to install Docker offline in raspberry pie 4B raspberrypi! Next, please follow the editor to study!

Download Docker and related dependencies

Download address of docker package and related dependencies

# download https://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/containerd.io_1.4.4-1_armhf.debhttps://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce-cli_20.10.6~3-0~debian-buster_armhf.debhttps://download.docker.com/linux/debian/dists/buster/pool/stable/armhf/docker-ce_20., the latest package related to docker 10.6 upload 3-0~debian-buster_armhf.deb# to a directory of raspberry pie For example: / home/pi/ directory scp containerd.io_1.4.4-1_armhf.deb root@192.168.0.5:/home/pi/scp docker-ce-cli_20.10.6~3-0~debian-buster_armhf.deb root@192.168.0.5:/home/pi/scp docker-ce_20.10.6~3-0~debian-buster_armhf.deb root@192.168.0.5:/home/pi/# enter the / home/pi/ directory Install dockercd / home/pi/sudo dpkg-I containerd.io_1.4.4-1_armhf.deb sudo dpkg-I docker-ce-cli_20.10.6_3-0_debian-buster_armhf.deb sudo dpkg-I docker-ce_20.10.6_3-0_debian-buster_armhf.deb # View docker version docker version# View docker Information docker info configuration Docker Boot self-start Service # start Dockersystemctl start docker# View docker Startup status systemctl Status docker# View Container docker ps# Settings Boot self-boot systemctl enable docker.service# View docker boot startup status enabled: on Disabled: close systemctl is-enabled docker.service to this point The study on "how to install Docker offline for raspberry pie 4B raspberrypi" is over. I hope it can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report