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 :)
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