您现在的位置是:热点 >>正文
云计算核心技术Docker教程:Docker 守护进程dockerd的DEVICEMAPPER选项
热点060人已围观
简介...
使用带有--storage-opt标志指定的选项来配置特定的存储驱动程序 。
这是Linux上devicemapper的配置文件示例:
{
"storage-driver": "devicemapper",
"stor云计age-opts": [
"dm.thinpooldev=/dev/mapper/thin-pool",
"dm.use_deferred_deletion=true",
"dm.use_deferred_removal=true算核"
]
}
dm.thinpooldev
指定用于精简池的自定义块存储设备。
如果将块设备用于设备映射器存储,则最好lvm 用于创建和管理精简池卷。然后将该卷交给Docker以专门创建映像和容器所需的快照卷。
管理Engine外部心技的精简池是使Docker利用设备映射器精简资源调配作为Docker容器的后备存储的功能最丰富的方法。基于lvm的精简池管理功能的重点包括:自动或交互式精简池调整大小支持,动态更改精简池功能,当lvm激活精简池时自动进行术D精简元数据检查等。
如果没有提供精简池,则作为回退,将创建回送文件。环回速度非常慢,但是可以在不进行任何预配置存储的情况下使用。强烈建议您在生产中不要使用环回。确保您的Engine守护程序提供了一个 --storage-oocpt dm.thinpooldev参数。
例:
$ sudo dockerd --storage-opt dm.thinpooldev=/dev/mapper/thin-pool
dm.directlvm_device
作为提供上述精简池的替ke代方法,Docker可以为您设置一个块设备。
例:
$ sudo dockerd --storage-opt dm.directlvm_device=/dev/xvdf
dm.thinp_percent
设置用于存储的传入块设备的百分比。
例:
$r教 sudo dockerd --storage-opt dm.thinp_percent=95
dm.thinp_metapercent
设置传入的块设备用于元数据存储的百分比。
例:
$ sudo dockerd --storage-opt dm程:.thinp_metapercent=1
dm.thinp_autoextend_threshold
设置lvm尝试自动扩展可用空间之前使用的空间百分比的值[100 =禁用]
例:
$ sudo dockerd --storage-oDopt dm.thinp_autoextend_threshold=80
dm.thinp_autoextend_percent
设置值百分比值以在lvm 尝试自动扩展可用空间时增加精简池的数量[100 =禁用]
例:
$ sudo dockeckrd --storage-opt dm.thinp_autoextend_percent=20
dm.basesize
指定创建基本设备时要使用的大小,这会限制图像和容器的大小。默认值为10G。请注意,瘦设备本来就是“稀疏”的er,因此一个几乎是空的10G设备不会在池上使用10 GB的空间。但是,如果设备更大,则文件系统将为空情况使用更多空间。
可以在守护程序重新启动时增加基本设备的大小,这将使所有将来的映像和容器(基于这些新映像)都具有新的基本设备大小 守。
例子
$ sudo dockerd --storage-opt dm.basesize=50G
这会将基本设备的大小增加到50G。如果现有基本设备大小大于50G,则Docker守护程序将引发错误。用户可以使用此选项来扩展基本设备的护进大小,但是不允许缩小。
此值会影响系统范围的“基本”空文件系统,该文件系统可能已由拉取的映像初始化和继承。通常,对此值进行更改需要其他步骤才能生效:
$ sudo service docker stop
$ sudo rm -rf /var/li程db/docker
$ sudo service docker start
Tags:
相关文章
标签: 网龙 Mynd.ai 游戏及应用服务 2025年财报
热点云梦级3月26日云梦级消息,网龙网络控股有限公司("网龙"或"本公司";香港交易所股份代号:777)今日公布2025年全年财务业绩。 公司全年整体经营开支同比下降22.2%,下半年经营利润同比增长47...
【热点】
阅读更多标签: 常熟银行 村镇银行 净息差 不良率
热点云梦级10月29日云梦级消息,10月29日晚间,常熟银行披露2025年第三季度报告。今年前三季度,常熟银行实现营业收入90.52亿元,同比增长8.15%;归属于上市公司股东的净利润33.57亿元,同比...
【热点】
阅读更多AI驱动的超分辨技术落地实践
热点近年来,随着深度学习技术的快速发展,基于AI的超分辨技术在图像恢复和图像增强领域呈现出广阔的应用前景,受到了学术界和工业界的关注和重视。但是,在RTC视频领域中,很多AI算法并不能满足实际场景下的应用...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.vocabulary.com/dictionary/小旋风万能蜘蛛池【tg:seogoogle987】,QrR
- https://www.paspaley.com/catalogsearch/result/?action=QUERY&q=小旋风万能蜘蛛池【tg:seogoogle987】,8YW
- https://www.dba.dk/soeg/?soeg=小旋风万能蜘蛛池【tg:seogoogle987】eu0
- 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】,obx
- https://www.prattlibrary.org/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,NOW
- https://www.metaltix.com/?view=tours&filter=search&q=小旋风万能蜘蛛池【tg:seogoogle987】,dMv
- https://www.losgatoschamber.com/list/search?action=SEARCH&q=小旋风万能蜘蛛池【tg:seogoogle987】,A6X
- https://www.swecobelgium.be/?page=9&s=小旋风万能蜘蛛池【tg:seogoogle987】,epT
- https://www.posten-portal.de/search?query=小旋风万能蜘蛛池【tg:seogoogle987】,YMc
- https://www.shopping.com/search.html?keyword=小旋风万能蜘蛛池【tg:seogoogle987】,xct
- https://m.shoppinghow.kakao.com/m/search/q/小旋风万能蜘蛛池【tg:seogoogle987】2R3
- https://www.nyif.com/catalogsearch/result/index/?f=sarbanesoxleyU&index=me_cms_pe&lit=20&mode=list&p=1&q=小旋风万能蜘蛛池【tg:seogoogle987】,R3i
- https://www.reallywildbirdfood.co.uk/store/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,wRp
- https://www.mi.com/search?keyword=小旋风万能蜘蛛池【tg:seogoogle987】,kI5
- https://store.line.me/search/sticker/ja?q=小旋风万能蜘蛛池【tg:seogoogle987】gY5
- https://www.parl.ca/legisinfo/fr/projets-de-loi?parlsession=all&view=list&keywords=小旋风万能蜘蛛池【tg:seogoogle987】,WTI
- https://www.jusoen.com/addreng.asp?p1=小旋风万能蜘蛛池【tg:seogoogle987】T7s
- https://www.openstreetmap.org/search?query=小旋风万能蜘蛛池【tg:seogoogle987】,zvs
- https://www.navylookout.com/?ID=nSBR6Ivdu6lZg1yr2SDs30Lo5sTs76yJ&s=小旋风万能蜘蛛池【tg:seogoogle987】,qnD
- https://www.whirlpool.com.hk/chinese/catalogsearch/result?cat=30&q=小旋风万能蜘蛛池【tg:seogoogle987】,SFm
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=小旋风万能蜘蛛池【tg:seogoogle987】mxD
- https://www.teacherspayteachers.com/Browse/Price-Range/Free/Search:小旋风万能蜘蛛池【tg:seogoogle987】,sDn
- https://www.jusoen.com/addreng.asp?p1=小旋风万能蜘蛛池【tg:seogoogle987】mVG
- https://www.lechzuers.com/de/search?cat=163&q=小旋风万能蜘蛛池【tg:seogoogle987】,DEv
- https://www.kingston.gov.uk/site-search/results/?q=小旋风万能蜘蛛池【tg:seogoogle987】,LIt
- https://www.symatoys.com/search.html?ID=UyMD6aO58bPrJvQAB1I0N69KzJBZeNPC&keyword=小旋风万能蜘蛛池【tg:seogoogle987】,Xzx
- https://www.teamlab.art/es/?submit=小旋风万能蜘蛛池【tg:seogoogle987】,pUH
- https://www.lyrics.com/lyrics/kkk3小旋风万能蜘蛛池【tg:seogoogle987】,cFU
- https://www.remit.co.jp/en/?s=小旋风万能蜘蛛池【tg:seogoogle987】,lDS
- https://www.klatreverden.no/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,Dme
- https://www.soccerbible.com/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,8QX
- https://www.mynextmove.org/find/search?s=小旋风万能蜘蛛池【tg:seogoogle987】,xnQ
- https://www.manga-news.com/index.php/recherche/?q=小旋风万能蜘蛛池【tg:seogoogle987】,cbD
- https://dict.naver.com/dict.search?dicQuery&query=小旋风万能蜘蛛池【tg:seogoogle987】mse
- https://www.solerpalau.com/en-en/catalogsearch/result/?q=小旋风万能蜘蛛池【tg:seogoogle987】,utN
- https://blvdseafood.com/?s=小旋风万能蜘蛛池【tg:seogoogle987】ltU
- https://www.spoiledsweetboutique.com/search/小旋风万能蜘蛛池【tg:seogoogle987】,Ecg
- https://www.parriscues.com/catalogsearch/result/?q=小旋风万能蜘蛛池【tg:seogoogle987】,PU5
- https://xn--lgernevedlystskoven-lxb.dk/search/小旋风万能蜘蛛池【tg:seogoogle987】,13r
- https://www.lneg.pt/en/?s=小旋风万能蜘蛛池【tg:seogoogle987】,4yf
- https://www.roblox.com/discover/?cat=107&Keyword=小旋风万能蜘蛛池【tg:seogoogle987】,j5p
- https://yscc1986.net/search/小旋风万能蜘蛛池【tg:seogoogle987】CSK
- https://www.lee.com/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,xMP
- https://www.whiterock2008.com.tw/search?q=小旋风万能蜘蛛池【tg:seogoogle987】,7Js
- https://www.nytimes.com/search?dropmab=true&query=小旋风万能蜘蛛池【tg:seogoogle987】,rVY
- https://www.hanbat.ac.kr/search/front/Search.jsp?qt=小旋风万能蜘蛛池【tg:seogoogle987】3Dr
- https://www.resilienz-akademie.com/?cat=71&s=小旋风万能蜘蛛池【tg:seogoogle987】,Yje
- https://www.wilsonart.com/catalogsearch/result/?action=CHECK&q=小旋风万能蜘蛛池【tg:seogoogle987】,hTl
- https://www.voices.com/talents/search?keywords=小旋风万能蜘蛛池【tg:seogoogle987】,r0P
- https://www.yli.ro/catalogsearch/result/?q=小旋风万能蜘蛛池【tg:seogoogle987】,M1K