Difference between revisions of "IoTGateway/BSP/Linux/iMX6/InstallDocker"

From ESS-WIKI
Jump to: navigation, search
Line 16: Line 16:
  
 
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>
+
<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
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
 
Step5 Install docker
  
 
Debien
 
Debien
<syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb</syntaxhighlight>
+
<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&nbsp;
Ubuntu
 
<syntaxhighlight lang="bash">dpkg -i docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb</syntaxhighlight>
 
Step6 Check docker can work&nbsp;
 
 
 
  
 
<syntaxhighlight lang="bash">docker run -t -i ubuntu /bin/bash</syntaxhighlight>
 
<syntaxhighlight lang="bash">docker run -t -i ubuntu /bin/bash</syntaxhighlight>
Reference: [[https://stackoverflow.com/questions/28923743/dockers-docker0-device-dies-repeatedly-inet-addr-disappears https://stackoverflow.com/questions/28923743/dockers-docker0-device-dies-repeatedly-inet-addr-disappears]
 
  
[https://stackoverflow.com/questions/28923743/dockers-docker0-device-dies-repeatedly-inet-addr-disappears https://stackoverflow.com/questions/28923743/dockers-docker0-device-dies-repeatedly-inet-addr-disappears]]
+
Q/A
 +
1.*If network issue, please check "/etc/resolv.conf".
 +
*Add nameserver 8.8.8.8 in &nbsp;/etc/resolvconf/resolv.conf.d/base

Revision as of 04:42, 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
Ubuntu
wget https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb
Step4 apt-get update

Step5 Install docker

Debien

dpkg -i docker-engine_17.05.0~ce-0~debian-jessie_armhf.deb
Ubuntu
dpkg -i docker-engine_17.05.0~ce-0~ubuntu-trusty_armhf.deb
Step6 Check docker can work 
docker run -t -i ubuntu /bin/bash

Q/A 1.*If network issue, please check "/etc/resolv.conf".

  • Add nameserver 8.8.8.8 in  /etc/resolvconf/resolv.conf.d/base