Skip to content

Latest commit

 

History

History
79 lines (40 loc) · 2.25 KB

VG Docker SDK Install and Usage Guide.md

File metadata and controls

79 lines (40 loc) · 2.25 KB

VG Docker SDK Install and Usage Guide

1. Device Login

Using a PC to connect to the network port of the VG device, and log in to the device as shown in the following figure

image-20220913183424623

2. Docker SDK Install

Docker SDK integrates docker runtime and docker image manager required to run docker images. Docker SDK must be installed before using Docker.

image-20220913183129035

After the installation is complete

image-20220913183613444

3. Enable Docker

Enable Docker as below picture.

image-20220913183828502

4. Using Portainer to Manage Docker Image and Container

4.1 Login Portainer

As below picture, click the link to jump to the portainer login page

image-20220913183942760

If you encounter the following problems, please do as shown below

image-20220913184250642

Input username and password(default is admin/12345678)

image-20220913184407669

Choose local enviroment

image-20220913184550535

image-20220913184702395

4.2 Pull Docker Image

4.2.1 Import Docker Image Locally

NOTE: Docker image should be in armv7 architecture.

image-20220913184908772

4.2.2 Pull Docker Image via registry

Pull Docker image as below picture (nginx:latest is as an example)

NOTE : If image name does not contains tag, the tag is latest.

image-20220913185048861

After the pull is successful, the picture is as follows

image-20220913185302218

4.3 Create Docker Contaner

enter Containers page,choose Add container

image-20220913185403317

Create Docker image as below picture(nginx-example is an example)

image-20220913185935180

After the creation is successful, try to access in the browser as below picture.

image-20220913200846727