SlideShare a Scribd company logo
1 of 23
Download to read offline
Saputro Aryulianto
ary@btech.id
Operations Boot Camp I
RancherOS
The perfect place to run Docker
Hi,
●
Ary
●
System Administrator at Pusilkom UI for
General Elections Commissions of Republic of Indonesia
●
OpenStack Engineer at PT. Boer Technology (Btech)
●
GNU/Linux Bogor (GLiB) Activist
●
Local Commitee at GNOME.Asia Summit 2015
●
Speakers at openSUSE.Asia Summit 2016
●
Amateur Dota2 Player :)
3
Overview of
4
Never Search On Google Images!
5
Overview of RancherOS
● RancherOS is a minimalist Linux distribution
perfect for running Docker containers. By running
Docker directly on top of the kernel and delivering
Linux services as containers, RancherOS delivers
just what you need to build what you want.
6
H/W Requirement
● x86_64 server with at least 512MB of RAM.
– If you are planning on installing to disk, you will need at
least 1024MB of RAM.
7
How This Works
8
How This Works
● Everything in RancherOS is a Docker
container. We accomplish this by launching
two instances of Docker.
● One is what we call the system Docker which
runs as the first process. System Docker then
launches a container that runs the user
Docker. The user Docker is then the instance
that gets primarily used to create containers.
●
9
Quick Start
Guide
10
Launching RancherOS Using Docker Machine
● Launching RancerOS Using Docker Machine
– docker-machine create -d virtualbox
--virtualbox-boot2docker-url
https://releases.rancher.com/os/latest/
rancheros.iso <MACHINE-NAME>
● That’s it! You’re up and running a RancherOS
instance.
11
Launching RancherOS Using Docker Machine
● To login to the instance, just use the docker-
machine command.
– docker-machine ssh <MACHINE-NAME>
● Point your docker client to the docker daemon
inside the VM
– eval $(docker-machine env rancherosary)
● Test!
– docker run -p 80:80 -p 443:443 -d nginx
12
Installing RancherOS
to disk
13
Managing Versions
● You can find the current version of your operating system
by running the command:
– [rancher@rancheros-99 ~]$ sudo ros os version
v0.7.0
●
To view all available releases:
– [rancher@rancheros-99 ~]$ sudo ros os list
rancher/os:v0.7.0 remote
rancher/os:v0.7.1 remote
rancher/os:v0.8.0 remote
14
Managing Versions
● You can install the latest stable version by running
the command ros os upgrade or by selecting a
version with the -i parameter:
– [rancher@rancheros-99 ~]$ sudo ros os
upgrade -i rancher/os:v0.9.0
15
Managing Docker Versions
● To view available versions:
– [rancher@rancheros-99 ~]$ sudo ros
engine list
disabled docker-1.10.3
disabled docker-1.11.2
current docker-1.12.1
16
Managing Docker Versions
● To switch version:
– [rancher@rancheros-99 ~]$ sudo ros engine
switch docker-1.11.2
INFO[0000] Project [os]: Starting project
INFO[0000] [0/19] [docker]: Starting
…
INFO[0010] Recreating docker
INFO[0010] [1/19] [docker]: Started
17
Docker Swarm Clusters
on RancherOS
18
Topology
19
Docker Swarm
● We’ll start by making our Docker Swarm cluster
– docker swarm init --advertise-addr
192.168.0.100
● Join worker to Swarm Cluster
– docker swarm join 
--token SWMTKN-1xxxxxxxxxxx
● Verify node on Manager
– docker node ls
20
Reference
● https://docs.rancher.com/os/
● https://blog.selectel.com/virtual-private-cloud-co
reos-rancheros/
21
Q & A
22
Thank You!
23
Keep in Touch :)
● www.aryulianto.com
● https://www.twitter.com/saputroyulianto
● https://www.facebook.com/saputroaryulianto
● https://www.linkedin.com/in/aryulianto
● https://t.me/aryulianto
● Telegram: @aryulianto

More Related Content

What's hot

What's hot (20)

Vagrant
VagrantVagrant
Vagrant
 
Docker Compose to Production with Docker Swarm
Docker Compose to Production with Docker SwarmDocker Compose to Production with Docker Swarm
Docker Compose to Production with Docker Swarm
 
Docker deploy
Docker deployDocker deploy
Docker deploy
 
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps ItaliaWhen Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
When Docker ends, Chef begins ~ #idi2015 Incontro DevOps Italia
 
Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis OverviewCeph, Docker, Heroku Slugs, CoreOS and Deis Overview
Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
Intro- Docker Native for OSX and Windows
Intro- Docker Native for OSX and WindowsIntro- Docker Native for OSX and Windows
Intro- Docker Native for OSX and Windows
 
Learn enough Docker to be dangerous
Learn enough Docker to be dangerousLearn enough Docker to be dangerous
Learn enough Docker to be dangerous
 
Docker session III: Dockerfile
Docker session III: DockerfileDocker session III: Dockerfile
Docker session III: Dockerfile
 
CI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOWCI-CD WITH GITLAB WORKFLOW
CI-CD WITH GITLAB WORKFLOW
 
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
 
Docker Ecosystem: Part III - Machine
Docker Ecosystem: Part III - MachineDocker Ecosystem: Part III - Machine
Docker Ecosystem: Part III - Machine
 
Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Docker
 
Docker command
Docker commandDocker command
Docker command
 
Introduction to Project atomic (CentOS Dojo Bangalore)
Introduction to Project atomic (CentOS Dojo Bangalore)Introduction to Project atomic (CentOS Dojo Bangalore)
Introduction to Project atomic (CentOS Dojo Bangalore)
 
QNAP COSCUP Container Station
QNAP COSCUP Container StationQNAP COSCUP Container Station
QNAP COSCUP Container Station
 
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleInfrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
 
Launching containers with fleet
Launching containers with fleetLaunching containers with fleet
Launching containers with fleet
 
Docker: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Hero
 
Caching in Docker - the hardest thing in computer science
Caching in Docker - the hardest thing in computer scienceCaching in Docker - the hardest thing in computer science
Caching in Docker - the hardest thing in computer science
 
Docker for Java developers at JavaLand
Docker for Java developers at JavaLandDocker for Java developers at JavaLand
Docker for Java developers at JavaLand
 

Viewers also liked

Impact Hub_Abidjan - Columbia Ci3
Impact Hub_Abidjan - Columbia Ci3Impact Hub_Abidjan - Columbia Ci3
Impact Hub_Abidjan - Columbia Ci3
Kathy Liu, MPA CIPP
 

Viewers also liked (13)

Beliefs anout life after death 2010
Beliefs anout life after death 2010Beliefs anout life after death 2010
Beliefs anout life after death 2010
 
Judaism pp
Judaism pp Judaism pp
Judaism pp
 
Impact Hub_Abidjan - Columbia Ci3
Impact Hub_Abidjan - Columbia Ci3Impact Hub_Abidjan - Columbia Ci3
Impact Hub_Abidjan - Columbia Ci3
 
Pronunciamiento apo 25 03 2017
Pronunciamiento apo 25 03 2017Pronunciamiento apo 25 03 2017
Pronunciamiento apo 25 03 2017
 
PIKASEN Clasificadora con lector óptico
PIKASEN Clasificadora con lector ópticoPIKASEN Clasificadora con lector óptico
PIKASEN Clasificadora con lector óptico
 
Next Money Fintech Finals Hong Kong: January 19, 2017
Next Money Fintech Finals Hong Kong: January 19, 2017Next Money Fintech Finals Hong Kong: January 19, 2017
Next Money Fintech Finals Hong Kong: January 19, 2017
 
Ibm ai in cognitive era
Ibm ai in cognitive eraIbm ai in cognitive era
Ibm ai in cognitive era
 
¿Qué encuentras en IMPROTO?
¿Qué encuentras en IMPROTO?¿Qué encuentras en IMPROTO?
¿Qué encuentras en IMPROTO?
 
Orientation and alignment in a vuca world
Orientation and alignment in a vuca worldOrientation and alignment in a vuca world
Orientation and alignment in a vuca world
 
SIMULATION EXERCISE ON LEADERSHIP, POLICY AND STRATEGY
SIMULATION EXERCISE ON LEADERSHIP, POLICY AND STRATEGYSIMULATION EXERCISE ON LEADERSHIP, POLICY AND STRATEGY
SIMULATION EXERCISE ON LEADERSHIP, POLICY AND STRATEGY
 
Raid
RaidRaid
Raid
 
презентація Microsoft power point
презентація Microsoft power pointпрезентація Microsoft power point
презентація Microsoft power point
 
V test model Ankita Dubey
V test model Ankita DubeyV test model Ankita Dubey
V test model Ankita Dubey
 

Similar to RancherOS - The perfect place to run Docker

Developing and Deploying PHP with Docker
Developing and Deploying PHP with DockerDeveloping and Deploying PHP with Docker
Developing and Deploying PHP with Docker
Patrick Mizer
 
Introduction to Docker and Containers
Introduction to Docker and ContainersIntroduction to Docker and Containers
Introduction to Docker and Containers
Docker, Inc.
 
A Gentle Introduction to Docker and Containers
A Gentle Introduction to Docker and ContainersA Gentle Introduction to Docker and Containers
A Gentle Introduction to Docker and Containers
Docker, Inc.
 

Similar to RancherOS - The perfect place to run Docker (20)

From zero to Docker
From zero to DockerFrom zero to Docker
From zero to Docker
 
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) ItalyClustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
 
Docker
DockerDocker
Docker
 
Docker - A Ruby Introduction
Docker - A Ruby IntroductionDocker - A Ruby Introduction
Docker - A Ruby Introduction
 
Developing and Deploying PHP with Docker
Developing and Deploying PHP with DockerDeveloping and Deploying PHP with Docker
Developing and Deploying PHP with Docker
 
Powercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptxPowercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptx
 
Introduction to Docker and Containers
Introduction to Docker and ContainersIntroduction to Docker and Containers
Introduction to Docker and Containers
 
Work shop - an introduction to the docker ecosystem
Work shop - an introduction to the docker ecosystemWork shop - an introduction to the docker ecosystem
Work shop - an introduction to the docker ecosystem
 
Webapp using docker container
Webapp using docker containerWebapp using docker container
Webapp using docker container
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniWorkshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
 
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionIntroduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" Edition
 
Deploying Windows Containers on Windows Server 2016
Deploying Windows Containers on Windows Server 2016Deploying Windows Containers on Windows Server 2016
Deploying Windows Containers on Windows Server 2016
 
Docker installation
Docker installationDocker installation
Docker installation
 
A Gentle Introduction to Docker and Containers
A Gentle Introduction to Docker and ContainersA Gentle Introduction to Docker and Containers
A Gentle Introduction to Docker and Containers
 
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and JenkinsExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
 
From Docker to Production - ZendCon 2016
From Docker to Production - ZendCon 2016From Docker to Production - ZendCon 2016
From Docker to Production - ZendCon 2016
 
About docker in GDG Seoul
About docker in GDG SeoulAbout docker in GDG Seoul
About docker in GDG Seoul
 
Docker practice
Docker practiceDocker practice
Docker practice
 
Dockerize Laravel Application
Dockerize Laravel ApplicationDockerize Laravel Application
Dockerize Laravel Application
 
Docker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los AngelesDocker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los Angeles
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

RancherOS - The perfect place to run Docker

  • 1. Saputro Aryulianto ary@btech.id Operations Boot Camp I RancherOS The perfect place to run Docker
  • 2. Hi, ● Ary ● System Administrator at Pusilkom UI for General Elections Commissions of Republic of Indonesia ● OpenStack Engineer at PT. Boer Technology (Btech) ● GNU/Linux Bogor (GLiB) Activist ● Local Commitee at GNOME.Asia Summit 2015 ● Speakers at openSUSE.Asia Summit 2016 ● Amateur Dota2 Player :)
  • 4. 4 Never Search On Google Images!
  • 5. 5 Overview of RancherOS ● RancherOS is a minimalist Linux distribution perfect for running Docker containers. By running Docker directly on top of the kernel and delivering Linux services as containers, RancherOS delivers just what you need to build what you want.
  • 6. 6 H/W Requirement ● x86_64 server with at least 512MB of RAM. – If you are planning on installing to disk, you will need at least 1024MB of RAM.
  • 8. 8 How This Works ● Everything in RancherOS is a Docker container. We accomplish this by launching two instances of Docker. ● One is what we call the system Docker which runs as the first process. System Docker then launches a container that runs the user Docker. The user Docker is then the instance that gets primarily used to create containers. ●
  • 10. 10 Launching RancherOS Using Docker Machine ● Launching RancerOS Using Docker Machine – docker-machine create -d virtualbox --virtualbox-boot2docker-url https://releases.rancher.com/os/latest/ rancheros.iso <MACHINE-NAME> ● That’s it! You’re up and running a RancherOS instance.
  • 11. 11 Launching RancherOS Using Docker Machine ● To login to the instance, just use the docker- machine command. – docker-machine ssh <MACHINE-NAME> ● Point your docker client to the docker daemon inside the VM – eval $(docker-machine env rancherosary) ● Test! – docker run -p 80:80 -p 443:443 -d nginx
  • 13. 13 Managing Versions ● You can find the current version of your operating system by running the command: – [rancher@rancheros-99 ~]$ sudo ros os version v0.7.0 ● To view all available releases: – [rancher@rancheros-99 ~]$ sudo ros os list rancher/os:v0.7.0 remote rancher/os:v0.7.1 remote rancher/os:v0.8.0 remote
  • 14. 14 Managing Versions ● You can install the latest stable version by running the command ros os upgrade or by selecting a version with the -i parameter: – [rancher@rancheros-99 ~]$ sudo ros os upgrade -i rancher/os:v0.9.0
  • 15. 15 Managing Docker Versions ● To view available versions: – [rancher@rancheros-99 ~]$ sudo ros engine list disabled docker-1.10.3 disabled docker-1.11.2 current docker-1.12.1
  • 16. 16 Managing Docker Versions ● To switch version: – [rancher@rancheros-99 ~]$ sudo ros engine switch docker-1.11.2 INFO[0000] Project [os]: Starting project INFO[0000] [0/19] [docker]: Starting … INFO[0010] Recreating docker INFO[0010] [1/19] [docker]: Started
  • 19. 19 Docker Swarm ● We’ll start by making our Docker Swarm cluster – docker swarm init --advertise-addr 192.168.0.100 ● Join worker to Swarm Cluster – docker swarm join --token SWMTKN-1xxxxxxxxxxx ● Verify node on Manager – docker node ls
  • 23. 23 Keep in Touch :) ● www.aryulianto.com ● https://www.twitter.com/saputroyulianto ● https://www.facebook.com/saputroaryulianto ● https://www.linkedin.com/in/aryulianto ● https://t.me/aryulianto ● Telegram: @aryulianto