Difference between revisions of "IoTGateway/BSP/Linux/iMX6/InstallDocker"
From ESS-WIKI
Line 9: | Line 9: | ||
== <font color="#0070c0">Install Docker SOP on Target</font> == | == <font color="#0070c0">Install Docker SOP on Target</font> == | ||
− | Step1 | + | Step1 |
− | Step2 Download docker engine 17.05 docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb | + | System boot up on Target |
+ | |||
+ | Step2 | ||
+ | |||
+ | Download docker engine 17.05 docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb | ||
Step3 | Step3 | ||
Debien | Debien | ||
− | <syntaxhighlight lang="bash">wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb</syntaxhighlight>Ubuntu<syntaxhighlight lang="bash">wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb</syntaxhighlight> Step4 apt-get update Step5 Install docker | + | <syntaxhighlight lang="bash">wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb</syntaxhighlight>Ubuntu<syntaxhighlight lang="bash">wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb</syntaxhighlight> Step4 apt-get update Step5 Install docker Debien<syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb</syntaxhighlight> Ubuntu<syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb</syntaxhighlight> Step6 Check docker can work |
− | Debien | ||
− | <syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb</syntaxhighlight> Ubuntu<syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb</syntaxhighlight> Step6 Check docker can work | ||
− | |||
− | |||
− | |||
+ | <syntaxhighlight lang="bash">docker run -t -i ubuntu /bin/bash</syntaxhighlight> Q/A | ||
(1) | (1) | ||
Revision as of 04:45, 18 October 2017
Install Docker
Install Docker on Debian iMX6 RISC ARM
Introduction
This document describes how to install Docker on Debian iMX6 RISC ARM.
Install Docker SOP on Target
Step1
System boot up on Target
Step2
Download docker engine 17.05 docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb
Step3
Debien
wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb
wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb
dpkg -i docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb
dpkg -i docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb
docker run -t -i ubuntu /bin/bash
(1)
- If network issue, please check "/etc/resolv.conf".
- [Solve] Add nameserver 8.8.8.8 in /etc/resolvconf/resolv.conf.d/base
(2)
- Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
- Check cgroup hierarchy: nonexistent??
- [Solve] apt-get install libsystemd-journal0