您现在的位置是:热点 >>正文
云计算核心技术Docker教程:Docker 插件生命周期
热点934799人已围观
简介...
插件应该在 Docker 之前启动,在 Docker 之后停止。例如,在为支持 的平台打包插件时systemd,云计您可能会使用systemd依赖项来管理启动和关闭顺序。
升级插件时,您应该先停止 Docker 守护进程,升级插件算核,然后再次启动 Docker。
插件激活
当一个插件第一次被引用时——无论是用户通过名称(例如docker run -心技-volume-driver=foo)引用它 还是一个已经配置为使用正在启动的插件的容器——Docker 会术D在插件目录中查找命名插件并通过握手激活它. 请参阅下面的握手 API。
插件不会在 Docker 守护进程启动时自oc动激活。相反,它们只会在需要时懒惰地或按需激活。
systemd socket激活
插件也可以通过套接字激活sysketemd。官方插件助手 本身支持套接字激活。为了使插件被套接字激活,它需要一个service文件和一个sr教ocket文件。
service文件(例如/lib/systemd/system/your-plugin程:.service):
socket文件(例如/lib/systemd/system/your-plugin.soDocket):
这将允许插件在 Docker 守护进程连接到它们正在侦听的套接字时实际启动(例如,守护进程第一次ck使用它们或者插件中的一个意外关闭)。
API设计
插件 API 是基于 HTTP 的 RPC 风格的 JSON,很像 webhookers。
请求从Docker 守护进程流向插件。所以插件需要实现一个 HTTP 服务器并将其绑定到“插件发现”部分中提到的 插 UNIX 套接字。
所有请求都是 HTTPPOST请求。
API 通过 Accept 标头进行版本控制,该标头当前始件生终设置为 application/vnd.docker.plugins.v1+json.
Tags:
相关文章
传苹果联合台积电开发自动驾驶芯片
热点北京时间12月10日凌晨消息,根据台湾媒体 Digitimes 报告,苹果正在与台积电(TSMC)合作开发自动驾驶汽车芯片,并探索在美国建立某种工厂的可能性。苹果汽车项目目前的重点是开发自动驾驶技术,...
【热点】
阅读更多标签: GLM-5 MTT S5000 智谱 摩尔线程
热点云梦级2月12日云梦级消息,2月11日,智谱正式发布新一代大模型GLM-5。摩尔线程基于SGLang推理框架,在旗舰级AI训推一体全功能GPU MTT S5000上,Day-0完成了全流程适配与验证。...
【热点】
阅读更多字节跳动的豆包大模型:日均调用超30万亿tokens,增长势头惊人!
热点火山引擎的总裁谭待在一次活动中披露了其豆包大模型的最新使用数据。令人惊讶的是,豆包大模型的 tokens(即大模型文本单位)使用量从 2024 年 5 月的 1200 亿 tokens 猛增至 202...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.lauben.com/de/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,XWT
- https://www.samen-maier.at/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,26N
- https://www.nbm.org/?action=QUERY&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,FmU
- https://www.jusoen.com/addreng.asp?p1=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】C5d
- https://www.paspaley.com/catalogsearch/result/?action=QUERY&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,vAm
- https://www.sic-info.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,EyA
- https://www.pmindia.gov.in/en/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xUm
- https://www.shopping.com/search.html?keyword=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,yrO
- https://www.tmtpost.com/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xY5
- https://www.repetto.jp/item/search?action=QUERY&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,8s6
- https://www.welshmountainzoo.org/shop/index.php?routeproduct/search&tag=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,cTr
- https://www.metaltix.com/?view=tours&filter=search&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,r6g
- https://www.lyrics.com/lyrics/kkk3谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,zvd
- https://www.teamlab.art/?submit=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ZSN
- https://www.qylaws.com/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,uS1
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】bB8
- https://www.tycoonstory.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xMl
- https://www.youtube.com/hashtag/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,cCW
- https://www.vivaraise.fr/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,QQJ
- https://www.ushmm.org/search/results/?ID=8s0587Oi8UTv74zPPM4fuhwjNpe2hsEE&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Q70
- https://www.tumblr.com/tagged/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,5FX
- https://www.silentiumpc.com/en/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,p7Z
- https://xn--lgernevedlystskoven-lxb.dk/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,b70
- https://www.takachi-enclosure.com/search?eqYB=gnI31Ou&text=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,iZm
- https://www.youtube.com/results?search_query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,0Aw
- https://www.pacific-lifestyle.co.uk/search?sort=alphabetical&term=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,o28
- https://www.supersauna.de/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ZJS
- https://www.whirlpool.com.hk/chinese/catalogsearch/result?cat=30&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Qzy
- https://www.ons.gov.uk/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,fZS
- https://www.pickett.co.uk/collections/vendors?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,bon
- https://www.teamlab.art/it/?submit=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Tez
- https://www.springfieldlibrary.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,T2E
- https://www.mygrandma.com/Items.aspx?search=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ogK
- https://www.spicebar.de/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,3p6
- https://www.pinkpanda.ro/magazin/ingrijirea-tenului?page=87&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,nku
- https://www.lauben.com/en/?action=SEARCH&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,NMb
- https://www.writingforward.com/?action=SEARCH&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,t8B
- https://www.tahiti-infos.com/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,BuS
- https://www.teamlab.art/es/?submit=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Q80
- https://www.teamlab.art/th/?submit=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,hdn
- https://www.stormberg.com/no/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,C5B
- https://www.prattlibrary.org/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,FWX
- https://www.wheels24.gr/?action=CHECK&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,a7M
- https://www.oikos-tecnics.com/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,6AU
- https://www.wmfe.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,2qk
- https://www.yli.ro/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,edy
- https://www.simcoemuskokahealth.org/SearchResults.aspx?SearchQuery=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,jk0
- https://www.remit.co.jp/ne/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Zh2
- https://www.theaerogroup.net/?cat=28&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,pTR
- https://www.goodreads.com/quotes/tag/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】X5G