Docker Cookbook


Setting Up a Local Docker Host by Using Vagrant | 5



Download 6,31 Mb.
Pdf ko'rish
bet17/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   ...   13   14   15   16   17   18   19   20   ...   260
Bog'liq
Docker Cookbook

1.4 Setting Up a Local Docker Host by Using Vagrant | 5


$ wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.deb
$ sudo dpkg -i vagrant_1.7.4_x86_64.deb
$ sudo vagrant --version
Vagrant 1.7.4
1.5 Installing Docker on a Raspberry Pi
Problem
You use 
Raspberry Pi
a lot at your company or you are a hobbyist who enjoys hacking
with Raspberry Pi. In either case, you would like to know how to install Docker on
your device.
Solution
Use the preconfigured Secure Digital (SD) card image from 
Hypriot
. You need to fol‐
low these steps:
1.
Download the SD card image
.
2. Transfer it to your SD card.
3. Install the SD card on your Raspberry Pi and boot it.
4. Log in to your Raspberry Pi and use Docker.
Discussion
For example, on an OS X host, you can follow the 
instructions
 from Hypriot.
Download and unzip the SD image:
$ curl -sOL http://downloads.hypriot.com/hypriot-rpi-20150416-201537.img.zip
$ unzip hypriot-rpi-20150416-201537.img.zip
Now insert your SD card in your host card reader; list the available disks to find out
which one the SD card is. Unmount this disk and transfer the image onto it by using
dd
. Assuming the disk is 
disk1
:
$ diskutil list
...
$ diskutil unmountdisk /dev/disk1
$ sudo dd if=hypriot-rpi-20150416-201537.img of=/dev/rdisk1 bs=1m
$ diskutil unmountdisk /dev/disk1
Once the image has been transferred, you can 
eject
the disk cleanly, remove the SD
card from the card reader, and put it in your Raspberry Pi. You will need to find the
IP address of your Raspberry Pi, and then you can 
ssh
to it and use 
hypriot
as the
password like so:

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   ...   13   14   15   16   17   18   19   20   ...   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