Docker(4)Docker on Raspberry

本文记录了在Raspberry Pi上安装Docker的过程及遇到的问题。由于默认系统为ARM架构且非64位平台,直接使用通用安装脚本会失败。通过采用特定命令与步骤,最终成功安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Docker(4)Docker on Raspberry

Install the docker on raspberry.
> curl https://raw.githubusercontent.com/resin-io/docker-install-script/master/install.sh | sh

Error Message:
sh: 6: pacman: not found

Solution:
> sudo apt-get install pacman

Still not working, use this command to install docker instead.
> sudo apt-get install docker

It is not the right package. Try this way.
> wget -qO- https://get.docker.com/ | sh
Error: you are not using a 64bit platform.
Docker currently only supports 64bit platforms.

It seems that I can not directly easily install docker on my raspberry if I did not install my arm linux system.
carl@raspberrypi ~/install $ uname -s
Linux
carl@raspberrypi ~/install $ uname -m
armv6l


References:
docker on raspberry
https://resin.io/blog/docker-on-raspberry-pi-in-4-simple-steps/
http://blog.xebia.com/2014/08/25/docker-on-a-raspberry-pi/

https://github.com/resin-io/lxc-docker-PKGBUILD
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值