树莓派安装教程

  1. 1. rasbian 网络配置
  2. 2. 树莓派安装 docker-ce

rasbian 网络配置

1
2
3
4
5
6
7
8
9
10
11
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "360WiFi"
wpa-psk "hellworld"

树莓派安装 docker-ce

1
2
3
4
5
6
7
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

echo "deb [arch=armhf] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list

apt update

apt install docker-ce