Difference between revisions of "IoTGateway/DockerHub"

From ESS-WIKI
Jump to: navigation, search
(Created page with "This article tells you how to create an automated build on DockerHub. ==Introduction== [https://docs.docker.com/docker-hub/ DockerHub] is a cloud-based registry service which...")
 
Line 15: Line 15:
  
 
3-1. Create a new branch, e.g. u12.04-imx6LBV3.
 
3-1. Create a new branch, e.g. u12.04-imx6LBV3.
  ''Note:'' The naming rule is "<ubuntu version>-<project version>".
+
  ''Note:'' The naming rule is "'''<ubuntu version>'''-'''<project version>'''".
 
3-2. Add your Dockerfile in specific path, e.g. advrisc/u12.04-imx6LBV3
 
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>.
+
  ''Note:'' The path is the name combining '''advrisc''' and '''<new branch>'''.
 
3-3. Remember to update README.md for image information.
 
3-3. Remember to update README.md for image information.
  
 
==Set up DockerHub==
 
==Set up DockerHub==
 +
1. Register a [https://hub.docker.com/ DockerHub] account.
 +
 +
2. Join [https://hub.docker.com/u/advrisc/ Advantech RISC organizations].
 +
 +
3. Link GitHub & DockerHub accounts.
 +
 +
4. Create automated build
 +
 +
4-1.

Revision as of 11:10, 21 September 2016

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.