Setup of Tizen Infrastructure with Docker

From Tizen Wiki
Revision as of 04:38, 7 August 2015 by Onstudy (talk | contribs) (Created page with " == About Docker == File:Docker-logo-loggedout.png Develop, Ship and Run Any Application, Anywhere Docker is a platform for developers and sysadmins to develop, ship, and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

About Docker


Develop, Ship and Run Any Application, Anywhere Docker is a platform for developers and sysadmins to develop, ship, and run applications. Docker lets you quickly assemble applications from components and eliminates the friction that can come when shipping code. Docker lets you get your code tested and deployed into production as fast as possible.

Welcome to the Docker User Guide


Command Line

Dockerfile Reference


Docker is a container-based software framework for automating deployment of applications. "Containers” are encapsulated, lightweight, and portable application modules.

This approach requires a bit of Docker knowledge and tweaks to get working properly. you'll need some basic knowledge about Docker and Supervisord already.

  • Tizen Infra structure

--- Git/Gerrit Server --- OBS Server --- OBS Worker --- Jenkins Server ------

Step 1: Installation of Docker on your OS.

   I recommend ubuntu 14.04 OS.
   Make sure you have installed the prerequisites for your Ubuntu version. Then, install Docker using the following:
   Log into your Ubuntu installation as a user with sudo privileges.
   Verify that you have wget installed.
   $ which wget
   If wget isn’t installed, install it after updating your manager:
   $ sudo apt-get update
   $ sudo apt-get install wget
Get the latest Docker package. $ wget --no-check-certificate -qO- | sudo apt-key add - OK
$ sudo sh -c "echo deb docker main > /etc/apt/sources.list.d/docker.list" $ sudo apt-get update $ sudo apt-get install -y lxc-docker-1.7.1 # Add the connected user "${USER}" to the docker group. # Change the user name to match your preferred user. # You may have to logout and log back in again for # this to take effect. $ sudo gpasswd -a ${USER} docker $ exec su -l ${USER}
   Verify docker is installed correctly.
   $ sudo docker run hello-world
   This command downloads a test image and runs it in a container.

Docker supports installation on the following:
Amazon EC2 Installation
Arch Linux
Microsoft Azure platform
Installation from binaries
CRUX Linux
Google Cloud Platform
Install on Joyent Public Cloud
Mac OS X
Oracle Linux
Rackspace Cloud
Red Hat Enterprise Linux
IBM SoftLayer
openSUSE and SUSE Linux Enterprise

Step 2: Start with a Docker image

If you want to start with a Docker image,you can find a Docker image from

There are many community containers already available, which can be found through a search.

Trouble Shooting

E: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

    $ sudo mkdir -p /usr/share/ca-certificates/extra/ 
    $ sudo cp [your_cert].crt /usr/share/ca-certificates/extra/  
    $ sudo dpkg-reconfigure ca-certificates
      Yes -> Check on "extra/[your_cert].crt"
    $ sudo update-ca-certificates