Docker Cookbook


Installing Docker on OS X Using Docker Toolbox | 7



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

1.6 Installing Docker on OS X Using Docker Toolbox | 7


Figure 1-1. The Docker Toolbox on OS X
The Toolbox terminal shows you that the Docker client is configured to use the
default
machine. Try a few 
docker
commands as shown here:
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
bash-4.3$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bash-4.3$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
bash-4.3$ docker
docker docker-compose docker-machine
You see that the 
docker-machine
and 
docker-compose
binaries are also available to
you.
8 | Chapter 1: Getting Started with Docker


Discussion
The Docker Toolbox was introduced in Docker 1.8 and should be the default installa‐
tion method on OS X and Windows hosts. Prior to the Docker Toolbox, you could
use 
Boot2Docker
 (see 
Recipe 1.7
 and 
Recipe 1.8
). Recipes for 
Boot2Docker
are also in
this book, but Docker Toolbox should be used. In fact, 
Boot2Docker
is still used in
Toolbox, as it is the image of the virtual machine started by the Toolbox. You can see
this by using the 
docker-machine ssh
command to log in to the VM as shown here:
bash-4.3$ docker-machine ssh default
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
_ _ ____ _ _
| |__ ___ ___ | |_|___ \ __| | ___ ___| | _____ _ __
| '_ \ / _ \ / _ \| __| __) / _` |/ _ \ / __| |/ / _ \ '__|
| |_) | (_) | (_) | |_ / __/ (_| | (_) | (__| < __/ |
|_.__/ \___/ \___/ \__|_____\__,_|\___/ \___|_|\_\___|_|
Boot2Docker version 1.8.1, build master : 7f12e95 - Thu Aug 13 03:24:56 UTC 2015
Docker version 1.8.1, build d12ea79

Download 6,31 Mb.

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