Difference between revisions of "Template:H3-Linux-Install-Docker/zh"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | === | + | ===安装和测试 Docker=== |
− | ==== | + | ====安装 Docker==== |
− | + | 执行下列命令:<br /> | |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | + | sudo apt-get update | |
− | + | sudo apt-get install docker.io | |
− | + | ||
− | sudo | + | |
− | sudo | + | |
− | + | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ==== | + | ====测试 Docker==== |
− | + | 执行下列命令运行一个简单的docker image: | |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
git clone https://github.com/friendlyarm/debian-jessie-arm-docker | git clone https://github.com/friendlyarm/debian-jessie-arm-docker |
Latest revision as of 09:14, 22 August 2019
1 安装和测试 Docker
1.1 安装 Docker
执行下列命令:
sudo apt-get update sudo apt-get install docker.io
1.2 测试 Docker
执行下列命令运行一个简单的docker image:
git clone https://github.com/friendlyarm/debian-jessie-arm-docker cd debian-jessie-arm-docker ./rebuild-image.sh ./run.sh