OKA40i-C-docker Environment Guideline
OKA40i-C-docker Environment Guideline
We kindly suggest users using Ubuntu real machine to install docker, and the code we provide for docker is installed in
Ubuntu14.04 LTS 64-bit system.
Note: computer recommendation: Core(TM)i7, RAM above 8GB
All operations in this chapter will be done as a general user and prefix ‘$’ stands for general user
1. Install some necessary system tools
$ sudo apt-get update
$ sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
2. Install GPG certificate
$ curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
3. Write in software source information
$ sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu
$(lsb_release -cs) stable"
4. Update and install Docker-CE
$ sudo apt-get -y update
Check Docker-CE version
$ apt-cache madison docker-ce
docker-ce | 18.06.3~ce~3-0~ubuntu | http://mirrors.aliyun.com/docker-ce/linux/ubuntu/trusty/stable amd64 Packages
Install appointed Docker-CE
Example: $ sudo apt-get -y install docker-ce=18.06.3~ce~3-0~ubuntu
5. Verify
$ sudo docker version
Please use docker image pack provided by Forlinx, file path is as below
OKA40i-C OKT3-C/ Andriod(A40i V1.1,V1.2)/ Tool/ docker image/ ubuntu14_04lts_for_a40i_android7.tar.gz
Copy the source code pack to virtual machine or reach machine /root/workspace/allwinner/ to generate directory structure
by below command
$ mkdir -p /root/workspace/allwinner
$ cd /root/workspace/allwinner
Below information indicates you are manged to get into the container
root@c4bcf404fa6d:/#
Quit and close the container
exit
6. Check all containers
$ docker ps -a