Docker Cookbook


| Chapter 6: Optimized Operating System Distributions for Docker



Download 6,31 Mb.
Pdf ko'rish
bet155/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   ...   151   152   153   154   155   156   157   158   ...   260
Bog'liq
Docker Cookbook

190 | Chapter 6: Optimized Operating System Distributions for Docker


$ ssh -i ~/.ssh/id_rsa_snappy ubuntu@130.211.103.14
...
$ snappy info
release: ubuntu-core/devel
frameworks:
apps:
Happy Cloud snapping!
See Also
• Detailed command-line 
instructions
 with EC2 tools

Announcement
of Snappy available on AWS
6.10 Running Docker Containers on RancherOS
Problem
You are looking for an operating system alternative to CoreOS, Ubuntu Snappy, and
Project Atomic.
Solution
Try the newly announced 
RancherOS
 from 
Rancher Labs
. RancherOS is a minimalist
Linux distribution that fits in about 20MB. Everything in RancherOS is a Linux con‐
tainer; it removes the need for a 
systemd
init system by running a so-called 
system-
docker
daemon as PID 1 and running Linux services directly within containers. The
system-docker
then launches the Docker daemon used to run application containers.
RancherOS was announced 
recently
 and should be considered a
work in progress.
In order to test it, Rancher has made a convenient Vagrant project 
available
. The fol‐
lowing four lines of bash will get you up and running:
$ git clone https://github.com/rancherio/os-vagrant
$ cd os-vagrant
$ vagrant up
$ vagrant ssh
You can then use the latest Docker on the machine:
6.10 Running Docker Containers on RancherOS | 191


[rancher@rancher ~]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[rancher@rancher ~]$ docker version
Client version: 1.7.0
...
Server version: 1.7.0
...
As 
root
, you will be able to see the 
system-docker
and the system services running
within containers:
[rancher@rancher ~]$ sudo system-docker ps
CONTAINER ID IMAGE COMMAND ... NAMES
bde437da2059 rancher/os-console:v0.3.3 "/usr/sbin/entry.sh console
2113b2e191ea rancher/os-ntp:v0.3.3 "/usr/sbin/entry.sh ntp
a7795940ec89 rancher/os-docker:v0.3.3 "/usr/sbin/entry.sh docker
b0266396e938 rancher/os-acpid:v0.3.3 "/usr/sbin/entry.sh acpid
aa8e18e59e67 rancher/os-udev:v0.3.3 "/usr/sbin/entry.sh udev
f7145dfd21c9 rancher/os-syslog:v0.3.3 "/usr/sbin/entry.sh syslog

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   ...   151   152   153   154   155   156   157   158   ...   260




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish