IoTGateway/BSP/Linux/iMX6/InstallDocker
From ESS-WIKI
Revision as of 02:57, 19 October 2017 by Clayder.huang (talk | contribs)
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
apt-get update
Install at least for 1.7.X versions and above using the deb repository
Debien 8
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
Step4
Install docker Debien
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
Step5
Check docker can work
(1) Check docker verison
(2) Docker Run
docker run -t -i ubuntu /bin/bash
- 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