Rancher, Docker, Node.JS Installation

Install Docker

Features and Benefits

  • Easy installation and setup of an optimized Docker environment for Ubuntu on bare metal servers and VMs.
  • Latest Docker platform version with built in orchestration (clustering and scheduling), runtime security, container networking and volumes.
  • Available as a free download with a monthly Edge or quarterly Stable release with community support.
  • Also available for ARM 32 based platforms

Prerequisites

To install Docker CE, you need the 64-bit version of one of these Ubuntu versions:

  • Yakkety 16.10
  • Xenial 16.04
  • Trusty 14.04

1. Set up the repository

Set up the Docker CE repository on Ubuntu. The lsb_release -cs sub-command prints the name of your Ubuntu version, like xenial or trusty.

sudo apt-get -y install \
  apt-transport-https \
  ca-certificates \
  curl

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository \
       "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
       $(lsb_release -cs) \
       stable"

sudo apt-get update

2. Get Docker CE

Install the latest version of Docker CE on Ubuntu:

sudo apt-get -y install docker-ce

3. Test your Docker CE installation

Test your installation:

sudo docker run hello-world

Reference:
https://store.docker.com/editions/community/docker-ce-server-ubuntu?tab=description

Install Rancher

Launching Rancher Server – Single Container (non-HA)

On the Linux machine with Docker installed, the command to start a single instance of Rancher is simple.

$ sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server

Reference:
https://docs.rancher.com/rancher/v1.5/en/installing-rancher/installing-server/#single-container

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s