您现在的位置是:热点 >>正文
云计算核心技术Docker教程:在守护程序停机期间使容器保持活动状态
热点5435402人已围观
简介...
默认情况下,当Docker守护程序终止时,它将关闭正在运行的容器。您可以配置守护程序,以便在守护云计程序不可用时容器仍在运行。此功能称为实时还原。实时还原选项有助于减少由于守护程序崩溃,计划内停机或升级算核而导致的容器停机时间。
启用实时还原
两种方法可以启用实时还原设置,以在守护程序不可用时使容器保持活动状态。请心技仅执行以下一项。
将配置添加到守护程序配置文件。在Linux上,此默认为/etc/docker/dae术Dmon.json。在泊坞窗Mac版桌面或码头Windows版桌面,选择从任务栏泊坞窗图标,然后单击oc 首选项- >守护程序- >高级。
使用以下JSON启用live-restore。
{
"kelive-restore": true
}
重新启动Docker守护程序。在Linux上,您可以通过重新加载r教Docker守护程序来避免重启(并避免容器出现任何停机)。如果使用 systemd,则使用命令syste程:mctl reload docker。否则,SIGHUP向该dockerd过程发送 信号。
如果愿意,可以doc在守kerd使用该--live-restore标志手动启动该过程 。不建议使用此方法,因为它没有设置syste护程md启动Docker进程时将使用的环境或其他进程管理器。这可能会导致意外的行为。
在升级过程中现场恢复
实时还序停原允许您使容器在Docker守护程序更新之间保持运行,但是仅在安装修补程序版本(YY.MM.x)时才机期支持实时还原,而对于主要(YY.MM)守护程序升级则不支持。
如果您在升级过程中跳过发行版,则守护程序间使可能无法恢复其与容器的连接。如果守护程序无法恢复连接,则它无法管理正在运行的容器,您必须手动停止它们。
Tags:
相关文章
京东启动“Aidol创造营”计划,全球征集AI智能硬件项目
热点在全球人工智能浪潮加速涌现的背景下,京东于 4 月 27 日正式对外宣布,启动一项名为“Aidol创造营”的全球招募计划。该计划旨在挖掘并筛选全球范围内的优秀AI智能硬件项目,通过资源整合与产业协同,...
【热点】
阅读更多标签: 昆仑万维 OpenAI Codex Claude Code AI编程
热点据GameQuest报道,昆仑万维集团董事长兼 CEO 方汉25日发布内部信——《关于扩展 AI 编程工具应用范围的通知》,宣布将对公司所有技术研发团队进行全面的AI化升级。 根据通知内容,昆仑万维将...
【热点】
阅读更多收购GitHub两年后,微软不断面临棘手的争议
热点据报道,2018年,微软斥资75亿美元收购了代码共享网站GitHub,这是微软有史以来最昂贵的收购之一。有超过5000万的开发者使用GitHub,他们倾向于直言不讳,包括在谈到他们不喜欢微软的事情时。...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.remit.co.jp/vi/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】X6u
- https://www.world-architects.com/en/search?term=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Jzq
- https://wwwcp.umes.edu/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,rrz
- https://www.kores.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,zMV
- https://www.unclefossil.com/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,BFt
- https://www.duksung.ac.kr/search/front/Search.jsp?qt=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】AAk
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】cht
- https://www.nonsolocap.it/cap?action=SEARCH&k=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,GMO
- https://blvdseafood.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】d21
- https://www.whiterock2008.com.tw/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xaZ
- https://www.wilsonart.com/catalogsearch/result/?action=CHECK&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,KV0
- https://www.remit.co.jp/id/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,jvw
- https://www.metaltix.com/?view=tours&filter=search&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Jkp
- https://www.jusoen.com/addreng.asp?p1=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】mJU
- https://www.teacherspayteachers.com/Browse/Price-Range/Free/Search:Western International University Physics degree=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,c0v
- https://www.tailoy.com.pe/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,DZF
- https://blvdseafood.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】ZkO
- https://www.swanagerailway.co.uk/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,8x3
- https://www.sebson.de/en/search?query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,gHa
- https://www.lechzuers.com/de/search?cat=163&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,rWz
- https://www.televes.com/es/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,NL7
- https://www.sportbiketracktime.com/index.php?route=product/search&tag=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,IpD
- https://www.nslcleaders.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,HqS
- https://www.quarterjacksurgery.co.uk/?AT=3rBy&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xsc
- https://www.jusoen.com/addreng.asp?p1=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】CZp
- https://www.seforall.org/search?keywords=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,5fu
- https://www.zalora.sg/catalog/?cat=112&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,APS
- https://www.sdcard.org/ja/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,r8A
- https://www.polar-tech.com/?action=QUERY&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Csq
- https://www.otakuninjahero.com/en/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,eQA
- https://www.tarleton.edu/news/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,BjH
- https://www.theaerogroup.net/?cat=28&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,le3
- https://www.maine.gov/pfr/professionallicensing/search/node?keys=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,l7y
- https://www.schenckprocess.com/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,N63
- https://www.pearlstonecenter.org/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,9RE
- https://www.sbaad.no/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,PXr
- https://www.sensorshop24.de/catalogsearch/result/index/?type=132&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,v1c
- https://www.vet-direct.com/search?cat=72&term=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,4rl
- https://www.lauben.com/en/?action=SEARCH&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,XsQ
- https://www.lifesciencesweden.se/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,nrZ
- https://www.ntv.co.jp/3min/search/?action=QUERY&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,BRV
- https://www.tycoonstory.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,J5U
- https://www.wmfe.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,v4c
- https://www.monroecounty.gov/search/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,GPS
- https://www.tarleton.edu/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,w1m
- https://www.duksung.ac.kr/search/front/Search.jsp?qt=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】7DU
- https://www.kaiyueleather.com/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,nX2
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】BdN
- https://www.vietnamconsulate-sf.org/?action=CHECK&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,N9r
- https://www.openspaceinstitute.org/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,4Wd