您现在的位置是:热点 >>正文
云计算核心技术Docker教程:在Docker中使用tmpfs挂载
热点3221900人已围观
简介...
卷和绑定挂载使您可以在主机和容器之间共享文件,以便即使容器停止后也可以保留数据。
如果您在Lin云计ux上运行Docker,则还有第三种选择:tmpfs挂载。当创建带有tmpfs安装架的容器时,该容器算核可以在该容器的可写层之外创建文件。
与卷和绑定挂载相反,tmpfs挂载是临时的,并且仅持久保存在主机内心技存中。当容器停止时,tmpfs挂载将被删除,并且在该容器中写入的文件将不会保留。
tmpfs安装的术D局限性
与卷和绑定挂载不同,您不能tmpfs在容器之间共享挂载。
仅当您在Linux上运行Dockocer时,此功能才可用。
选择--tmpfs或--mount标志
总的来说,--mount是更明确和冗长的。最ke大的区别是该--tmpfs标志不支持任何可配置的选项。
--tmpfs:挂载tmpfs挂载而不允许您指r教定任何可配置的选项,并且只能与独立容器一起使用。
--mount:包含多个键值对,以逗号分隔,每个键值对都程:由一个=元组组成。该--mount语法比更详细--tmpfs:
该type安装件,其可以是bind在D,volume,或 tmpfs。本主题进行讨论tmpfs,因此类型始终为 tmpfs。
的destiocnation作为其值,其中的路径tmpfs安装被安装在容器中。可以指定为destination,dstke或target。
在tmpfs-size和tmpfs-mode选项。请参阅 tmpfs选项。
下面的r中示例在可能的地方同时显示--mount和--tmpfs语法,并--mount首先展示。
--tmpfs和-使用-mount行为之间的区别
该--tmpfs标志不允许您指定任何可配置的选项。
该--tmpfs标志不tm能与群集服务一起使用。您必须使用--mount。
Tags:
相关文章
深信服:与中国电信签订战略合作协议 拟5亿元参与其战略配售
热点8月11日消息,深信服对外发布公告称,公司以自有资金参与中国电信的战略配售,获配金额为5亿元;公司与中国电信签订战略合作协议,双方将在云计算、网络安全等业务领域就资本、技术、资源等方面加强合作。 中国...
【热点】
阅读更多标签: Uber Blacklane UberElite 专车服务
热点云梦级3月31日云梦级消息,Uber 优步当地时间 30 日宣布将收购的全球专车服务公司 Blacklane。这笔交易尚需获得惯常的监管批准并满足其他惯常的交割条件,预计将于 2026 年底完成。 B...
【热点】
阅读更多标签: 百度 大模型 吴甜 贾磊
热点云梦级11月25日云梦级消息,2025年11月25日,百度发布设立技术研发组织相关公告,新设基础模型研发部,负责研发高智能可扩展的通用人工智能大模型,由吴甜负责;新设应用模型研发部,负责业务应用场景需...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.impactpool.org/search/?type=79&q=歌外推【tg:seogoogle987】pXM
- https://www.oprny.com/search.php?search_query=歌外推【tg:seogoogle987】,pIX
- https://store.line.me/search/sticker/ja?q=歌外推【tg:seogoogle987】bdi
- https://www.usslexington.com/?action=QUERY&s=歌外推【tg:seogoogle987】,kap
- https://www.rostaing.com/catalogsearch/result/?cat=22&q=歌外推【tg:seogoogle987】,R5G
- https://www.pearlstonecenter.org/search/歌外推【tg:seogoogle987】,eyj
- https://jihoon471.cafe24.com/product/search.html?banner_action=&keyword=歌外推【tg:seogoogle987】ZVT
- https://www.teamlab.art/?submit=歌外推【tg:seogoogle987】,5Lz
- https://www.u-bourgogne.fr/?cat=117&s=歌外推【tg:seogoogle987】,arP
- https://www.wheels24.gr/?action=CHECK&s=歌外推【tg:seogoogle987】,hXw
- https://www.lenovo.com/gb/en/search?action=SEARCH&text=歌外推【tg:seogoogle987】,aZ9
- https://www.whatsonstage.com/search?cat=64&term=歌外推【tg:seogoogle987】,HM7
- https://www.teacherspayteachers.com/Browse/Price-Range/Free/Search:Western International University Physics degree=歌外推【tg:seogoogle987】,2de
- https://www.spicebar.de/catalogsearch/result/?q=歌外推【tg:seogoogle987】,bK9
- https://www.laoairlines.com/?action=QUERY&s=歌外推【tg:seogoogle987】,Xa8
- https://www.xvideos.com/tags/歌外推【tg:seogoogle987】,x3Z
- https://www.kaskus.co.id/search?q=歌外推【tg:seogoogle987】,zha
- https://www.southmeadows.co.uk/2019/07/?s=歌外推【tg:seogoogle987】,zhx
- https://www.mintos.org/?s=歌外推【tg:seogoogle987】,pfG
- https://www.teamlab.art/es/?submit=歌外推【tg:seogoogle987】,t1A
- https://www.pixiv.net/tags/歌外推【tg:seogoogle987】,5h2
- https://www.terramania.nl/catalogsearch/result/index/?q=歌外推【tg:seogoogle987】,BQ4
- https://store.line.me/search/sticker/ja?q=歌外推【tg:seogoogle987】Bdu
- https://www.teamlab.art/fr/?submit=歌外推【tg:seogoogle987】,lAC
- https://www.televes.com/es/catalogsearch/result/?q=歌外推【tg:seogoogle987】,HDy
- https://www.lssystems.co.uk/search?page=0&per_page=24&term=歌外推【tg:seogoogle987】,T7u
- https://hsmoa.com/search?query=歌外推【tg:seogoogle987】erN
- https://hsmoa.com/search?query=歌外推【tg:seogoogle987】xlZ
- https://www.resopal.de/catalogsearch/result/?action=SEARCH&q=歌外推【tg:seogoogle987】,Njh
- https://www.ushmm.org/search/results/?ID=8s0587Oi8UTv74zPPM4fuhwjNpe2hsEE&q=歌外推【tg:seogoogle987】,teY
- https://wydden.com/?ID=r8w9WMSKWkOcmiaFWaUv0dzMdqZWfKtF&s=歌外推【tg:seogoogle987】,1Wo
- https://www.takachi-enclosure.com/search?eqYB=gnI31Ou&text=歌外推【tg:seogoogle987】,wqs
- https://www.wellbees.com/catalogsearch/result/?action=CHECK&q=歌外推【tg:seogoogle987】,Mjp
- https://www.smarty.net/search?q=歌外推【tg:seogoogle987】,XZh
- https://www.roblox.com/discover/?cat=107&Keyword=歌外推【tg:seogoogle987】,d6y
- https://www.roberthalf.com/us/en/jobs/all/歌外推【tg:seogoogle987】yTw
- https://www.schenckprocess.com/search?q=歌外推【tg:seogoogle987】,P07
- https://www.solerpalau.com/en-en/catalogsearch/result/?q=歌外推【tg:seogoogle987】,UEt
- https://www.seagrant.wisc.edu/?page=63&s=歌外推【tg:seogoogle987】,5Tg
- https://www.skicheck.at/en/?action=CHECK&s=歌外推【tg:seogoogle987】,8Lp
- https://www.duksung.ac.kr/search/front/Search.jsp?qt=歌外推【tg:seogoogle987】g1z
- https://www.ons.gov.uk/search?q=歌外推【tg:seogoogle987】,Ebd
- https://www.teamlab.art/zh-hans/?submit=歌外推【tg:seogoogle987】,iig
- https://www.paspaley.com/catalogsearch/result/?action=QUERY&q=歌外推【tg:seogoogle987】,eoB
- https://www.hanbat.ac.kr/search/front/Search.jsp?qt=歌外推【tg:seogoogle987】aXe
- https://www.sdcard.org/ja/?s=歌外推【tg:seogoogle987】,S8H
- https://www.jusoen.com/addreng.asp?p1=歌外推【tg:seogoogle987】YpN
- https://www.samen-maier.at/search/歌外推【tg:seogoogle987】,3ae
- https://www.mygrandma.com/Items.aspx?search=歌外推【tg:seogoogle987】,fH2
- https://www.simcoemuskokahealth.org/SearchResults.aspx?SearchQuery=歌外推【tg:seogoogle987】,r2k