Modern Full-Stack Development


Remove Containers and Images



Download 5,64 Mb.
Pdf ko'rish
bet99/107
Sana06.08.2021
Hajmi5,64 Mb.
#140576
1   ...   95   96   97   98   99   100   101   102   ...   107
Bog'liq
Modern Full-Stack Development Using TypeScript, React, Node

 Remove Containers and Images
You’ll probably want to clean up those containers at some point, and there’s a command 
for that:
docker rm
If the container is running, Docker won’t let you remove it until you stop it.
Likewise, you can remove images:
docker rmi
As with containers, Docker won’t allow you to delete an image that’s used by a 
container, regardless of whether it’s running or not, so you’ll need to clean up the 
containers first.
 Pulling  Images
What if you want to download some images but not immediately start containers based 
on them? That’s easy enough:
docker pull hello-world
Now, the image will be downloaded if it’s not already on your system (if it is, docker 
will try to update it if the latest version is newer than what’s on your system). After that, 
you can do a docker run to spin up containers like before.
You can push images to a repository as well, but we’ll get to that later.

Download 5,64 Mb.

Do'stlaringiz bilan baham:
1   ...   95   96   97   98   99   100   101   102   ...   107




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