您现在的位置是:热点 >>正文
云计算核心技术Docker教程:在守护程序停机期间使容器保持活动状态
热点35200人已围观
简介...
默认情况下,当Docker守护程序终止时,它将关闭正在运行的容器。您可以配置守护程序,以便在守护云计程序不可用时容器仍在运行。此功能称为实时还原。实时还原选项有助于减少由于守护程序崩溃,计划内停机或升级而算核导致的容器停机时间。
启用实时还原
两种方法可以启用实时还原设置,以在守护程序不可用时使容器保持活动状态。请心技仅执行以下一项。
将配置添加到守护程序配置文件。在Linux上,此默认为/etc/docker/daem术Don.json。在泊坞窗Mac版桌面或码头Windows版桌面,选择从任务栏泊坞窗图标,然后单击 首选项- &ocgt;守护程序- >高级。
使用以下JSON启用live-restore。
{
"live-rkeestore": true
}
重新启动Docker守护程序。在Linux上,您可以通过重新加载Dockerr教守护程序来避免重启(并避免容器出现任何停机)。如果使用 systemd,则使用命令systemct程:l reload docker。否则,SIGHUP向该dockerd过程发送 信号。
如果愿意,可以docker在守d使用该--live-restore标志手动启动该过程 。不建议使用此方法,因为它没有设置systemd启护程动Docker进程时将使用的环境或其他进程管理器。这可能会导致意外的行为。
在升级过程中现场恢复
实时还原序停允许您使容器在Docker守护程序更新之间保持运行,但是仅在安装修补程序版本(YY.MM.x)时才支持机期实时还原,而对于主要(YY.MM)守护程序升级则不支持。
如果您在升级过程中跳过发行版,则守护程序可能无间使法恢复其与容器的连接。如果守护程序无法恢复连接,则它无法管理正在运行的容器,您必须手动停止它们。
Tags:
相关文章
标签: 东京食尸鬼 暗黑动漫 小红书 B站
热点云梦级4月17日云梦级消息,央视新闻今日播出了《谁在为被禁的“暗黑动漫”开绿灯》的报道,对小红书、B站、闲鱼、抖音、拼多多和淘宝等一些社交媒体和购物平台上播出和售卖日本暗黑动漫“东京食尸鬼”相关产品和...
【热点】
阅读更多标签: 丰田 雷克萨斯 普拉多 bZ4X
热点云梦级12月16日云梦级消息,丰田汽车(中国)投资有限公司、一汽丰田汽车(成都)有限公司、广汽丰田汽车有限公司、一汽丰田汽车有限公司根据相关条例要求,向国家市场监督管理总局备案了召回计划。 丰田汽车(...
【热点】
阅读更多标签: 英伟达 NemoClaw AI智能体 开源平台
热点云梦级3月10日云梦级消息,据《连线》报道,下周在圣何塞举办的 GTC 年度开发者大会上,英伟达将推出名为“NemoClaw”的开源 AI 智能体平台。 知情人士透露,英伟达目前正向各大企业软件公司大...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.randjleather.co.uk/index.php?route=product/search&tag=谷歌快排【tg:seogoogle987】,Dsd
- https://www.teamlab.art/pt/?submit=谷歌快排【tg:seogoogle987】,frg
- https://www.terramania.nl/catalogsearch/result/index/?q=谷歌快排【tg:seogoogle987】,mFX
- https://www.writingforward.com/?action=SEARCH&s=谷歌快排【tg:seogoogle987】,Xuz
- https://www.solerpalau.com/en-en/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,kM1
- https://www.libros.unam.mx/catalogsearch/result/?cat=37&dir=asc&format=20&lit=20&manufacturer=3230&mode=list&order=year_edition&q=谷歌快排【tg:seogoogle987】,ydP
- https://www.parriscues.com/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,PYu
- https://www.safetv.go.kr/base/search/view?searchWord=谷歌快排【tg:seogoogle987】xWy
- https://www.wikiart.org/pt/Search/谷歌快排【tg:seogoogle987】,gH2
- https://www.ncetm.org.uk/search?action=CHECK&q=谷歌快排【tg:seogoogle987】,MLh
- https://www.kyuhoshi.com/?s=谷歌快排【tg:seogoogle987】,OS6
- https://www.tarleton.edu/?s=谷歌快排【tg:seogoogle987】,a7V
- https://www.hanbat.ac.kr/search/front/Search.jsp?qt=谷歌快排【tg:seogoogle987】c1t
- https://www.tmtpost.com/search?q=谷歌快排【tg:seogoogle987】,6aF
- https://www.seforall.org/search?keywords=谷歌快排【tg:seogoogle987】,qrn
- https://www.youtube.com/results?search_query=谷歌快排【tg:seogoogle987】,v99
- https://www.youm7.com/Home/Search?allwords=谷歌快排【tg:seogoogle987】,rsw
- https://www.lenovo.com/gb/en/search?action=SEARCH&text=谷歌快排【tg:seogoogle987】,TaK
- https://www.universal-music.co.jp/search/?q=谷歌快排【tg:seogoogle987】,Xjj
- https://www.kawainter.com/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,qCB
- https://www.varian.com/en-au/search?cat=113&search=谷歌快排【tg:seogoogle987】,fya
- https://www.soccerbible.com/search?q=谷歌快排【tg:seogoogle987】,GTF
- https://www.thedp.com/page/search?q=谷歌快排【tg:seogoogle987】,6Xj
- https://www.kores.com/?s=谷歌快排【tg:seogoogle987】,YYr
- https://www.sebson.de/en/search?query=谷歌快排【tg:seogoogle987】,HKH
- https://www.parl.ca/legisinfo/fr/projets-de-loi?parlsession=all&view=list&keywords=谷歌快排【tg:seogoogle987】,ftH
- https://www.teamlab.art/fr/?submit=谷歌快排【tg:seogoogle987】,9fz
- https://www.remit.co.jp/pt/?action=CHECK&s=谷歌快排【tg:seogoogle987】,ta5
- https://www.kubb-tool.bfs.admin.ch/en/search?action=CHECK&q=谷歌快排【tg:seogoogle987】,djo
- https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=0&wdqb=谷歌快排【tg:seogoogle987】,IEH
- https://www.searcychamber.com/list/search?AsfnA=DtkTQzs&q=谷歌快排【tg:seogoogle987】,c1e
- https://www.vivaraise.fr/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,uvh
- https://www.voices.com/talents/search?keywords=谷歌快排【tg:seogoogle987】,hwQ
- https://www.nctsn.org/search?cat=191&query=谷歌快排【tg:seogoogle987】,Km2
- https://www.klatreverden.no/search?q=谷歌快排【tg:seogoogle987】,aK0
- https://www.qylaws.com/search/谷歌快排【tg:seogoogle987】,Yu8
- https://www.jusoen.com/addreng.asp?p1=谷歌快排【tg:seogoogle987】UXk
- https://www.zalora.sg/catalog/?cat=112&q=谷歌快排【tg:seogoogle987】,Teo
- https://www.goodreads.com/quotes/tag/谷歌快排【tg:seogoogle987】voo
- https://www.tullygroup.us/?ID=hbkq8jFjrQlVRrwzEmvoUJJAY4e1Lfo5&s=谷歌快排【tg:seogoogle987】,Suz
- https://www.rostaing.com/catalogsearch/result/?cat=22&q=谷歌快排【tg:seogoogle987】,JcL
- https://www.revere.org/search?action=SEARCH&q=谷歌快排【tg:seogoogle987】,fLQ
- https://www.stonerealestate.com.au/?cat=100&s=谷歌快排【tg:seogoogle987】,X5V
- https://www.otakuninjahero.com/en/search/谷歌快排【tg:seogoogle987】,AXD
- https://www.lauben.com/en/?action=SEARCH&s=谷歌快排【tg:seogoogle987】,rP2
- https://www.roberthalf.com/us/en/jobs/all/谷歌快排【tg:seogoogle987】CHq
- https://www.supersauna.de/catalogsearch/result/?q=谷歌快排【tg:seogoogle987】,W2y
- https://yscc1986.net/search/谷歌快排【tg:seogoogle987】Erz
- https://www.jusoen.com/addreng.asp?p1=谷歌快排【tg:seogoogle987】G9R
- https://xn--lgernevedlystskoven-lxb.dk/search/谷歌快排【tg:seogoogle987】,1Lj