IoTGateway/DockerHub

From ESS-WIKI
Revision as of 11:10, 21 September 2016 by Daniel.hung (talk | contribs)
Jump to: navigation, search

This article tells you how to create an automated build on DockerHub.

Introduction

DockerHub is a cloud-based registry service which allows you to link to code repositories (e.g. GitHub), build your Docker images and test them, stores manually pushed images, etc.

Currently, we have many Docker images on DockerHub. In the section below, I will show you how to upload yours to the registry.

Upload Dockerfile to GitHub

1. Register a GitHub account.

2. Join Advantech organizations.

3. Upload your Dockerfile to docker-images repository.

3-1. Create a new branch, e.g. u12.04-imx6LBV3.

Note: The naming rule is "<ubuntu version>-<project version>".

3-2. Add your Dockerfile in specific path, e.g. advrisc/u12.04-imx6LBV3

Note: The path is the name combining advrisc and <new branch>.

3-3. Remember to update README.md for image information.

Set up DockerHub

1. Register a DockerHub account.

2. Join Advantech RISC organizations.

3. Link GitHub & DockerHub accounts.

4. Create automated build

4-1.