Docker Cookbook


Running Boot2Docker on Windows 8.1 Desktop



Download 6,31 Mb.
Pdf ko'rish
bet22/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   ...   18   19   20   21   22   23   24   25   ...   260
Bog'liq
Docker Cookbook

1.8 Running Boot2Docker on Windows 8.1 Desktop
Problem
You have a Windows 8.1 desktop and would like to use Boot2Docker to test Docker.
Solution
Use the Boot2Docker windows 
installer
, shown in 
Figure 1-5
.
1.8 Running Boot2Docker on Windows 8.1 Desktop | 13


After downloading the latest version of the Windows installer (an 
.exe
binary), run it
through the command prompt or through your file explorer (see 
Figure 1-5
). It will
automatically install VirtualBox, MSysGit, and the Boot2Docker ISO. MSysGit is nec‐
essary to get the 
ssk-keygen
binary on your Windows machine. Going through the
installer wizard, you will need to accept a couple of VirtualBox licenses from Oracle.
The installer can create shortcuts on your desktop for VirtualBox and to start
Boot2Docker.
Figure 1-5. Boot2Docker Windows 8.1 installer
Once the installation is finished, double-click the shortcut for Boot2Docker. This will
launch the VM in VirtualBox, and you will get a command prompt inside it (see
Figure 1-6
). You can now use Docker on your Windows desktop.
14 | Chapter 1: Getting Started with Docker


Figure 1-6. Boot2Docker Windows 8.1 command
Discussion
Docker Machine (see 
Recipe 1.9
) also comes with a Hyper-V driver. If you set up
Hyper-V on your desktop, you could start a Boot2Docker instance with Docker
Machine instead.
See Also
• Boot2Docker for Windows official Docker 
documentation
1.9 Starting a Docker Host in the Cloud by Using Docker
Machine
Problem
You do not want to install the Docker daemon locally using Vagrant (
Recipe 1.4
) or
Boot2Docker (
Recipe 1.7
). Instead, you would like to use a Docker host in the cloud
(e.g., AWS, DigitalOcean, Azure, or Google Compute Engine) and connect to it seam‐
lessly using the local Docker client.
Solution
Use 
Docker Machine
to start a cloud instance in your public cloud of choice. 
Docker
Machine
is client-side tool that you run on your local host and that allows you to start
a server in a remote public cloud and use it as a Docker host as if it were local.
Machine
will automatically install Docker and set up TLS for secure communication.

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   ...   18   19   20   21   22   23   24   25   ...   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