相关动态
Docker命令_各种参数简介(run、v、rm、-w、-u、-e)
2024-12-31 07:57
Name, shorthandDefaultDescriptionAdd a custom host-to-IP mapping (host:ip)Attach to STDIN, STDOUT or STDERRBlock IO (relative weight), between 10 and 1000, or 0 to disable (default 0)Block IO weight (relative device weight)Add Linux capabilitiesDrop Linux capabilitiesOptional parent cgroup for the containerWrite the container ID to the fileCPU count (Windows only)CPU percent (Windows only)Limit CPU CFS (Completely Fair Scheduler) periodLimit CPU CFS (Completely Fair Scheduler) quotaAPI 1.25+
Limit CPU real-time period in microsecondsAPI 1.25+
Limit CPU real-time runtime in microsecondsCPU shares (relative weight)API 1.25+
Number of CPUsCPUs in which to allow execution (0-3, 0,1)MEMs in which to allow execution (0-3, 0,1)Run container in background and print container IDOverride the key sequence for detaching a containerAdd a host device to the containerAdd a rule to the cgroup allowed devices listLimit read rate (bytes per second) from a deviceLimit read rate (IO per second) from a deviceLimit write rate (bytes per second) to a deviceLimit write rate (IO per second) to a deviceSkip image verificationSet custom DNS serversSet DNS optionsSet DNS optionsSet custom DNS search domainsContainer NIS domain nameOverwrite the default ENTRYPOINT of the imageSet environment variablesRead in a file of environment variablesExpose a port or a range of portsAPI 1.40+
GPU devices to add to the container (‘all’ to pass all GPUs)Add additional groups to joinCommand to run to check healthTime between running the check (ms|s|m|h) (default 0s)Consecutive failures needed to report unhealthyAPI 1.29+
Start period for the container to initialize before starting health-retries countdown (ms|s|m|h) (default 0s)Maximum time to allow one check to run (ms|s|m|h) (default 0s)Print usageContainer host nameAPI 1.25+
Run an init inside the container that forwards signals and reaps processesKeep STDIN open even if not attachedMaximum IO bandwidth limit for the system drive (Windows only)Maximum IOps limit for the system drive (Windows only)IPv4 address (e.g., 172.30.100.104)IPv6 address (e.g., 2001:db8::33)IPC mode to useContainer isolation technologyKernel memory limitSet meta data on a containerRead in a line delimited file of labelsAdd link to another containerContainer IPv4/IPv6 link-local addressesLogging driver for the containerLog driver optionsContainer MAC address (e.g., 92:d0:c6:0a:29:33)Memory limitMemory soft limitSwap limit equal to memory plus swap: ‘-1’ to enable unlimited swapTune container memory swappiness (0 to 100)Attach a filesystem mount to the containerAssign a name to the containerConnect a container to a networkAdd network-scoped alias for the containerConnect a container to a networkAdd network-scoped alias for the containerDisable any container-specified HEALTHCHECKDisable OOM KillerTune host’s OOM preferences (-1000 to 1000)PID namespace to useTune container pids limit (set -1 for unlimited)experimental (daemon)API 1.32+
Set platform if server is multi-platform capableGive extended privileges to this containerPublish a container’s port(s) to the hostPublish all exposed ports to random portsMount the container’s root filesystem as read onlyRestart policy to apply when a container exitsAutomatically remove the container when it exitsRuntime to use for this containerSecurity OptionsSize of /dev/shmProxy received signals to the processSignal to stop a containerAPI 1.25+
    以上就是本篇文章【Docker命令_各种参数简介(run、v、rm、-w、-u、-e)】的全部内容了,欢迎阅览 ! 文章地址:http://ww.kub2b.com/news/16709.html
     栏目首页      相关文章      动态      同类文章      热门文章      网站地图      返回首页 企库往资讯移动站 http://ww.kub2b.com/mobile/ , 查看更多   
最新文章
智能家居“伪智能”、直播间买到的羽绒服穿不了……江苏一季度消费投诉热点出炉
4月9日,江苏省消费者权益保护委员会发布2025年一季度消费投诉及舆情热点报告。一季度全省消保委系统受理投诉51464件,接待消费
智能手机传感器及作用大盘点手机的作用「智能手机传感器及作用大盘点」
已经成为不可思议的小机器,几十年前,这样的设备只存在于科幻小说。如果回到几十年前,人们可能会认为是魔法。现在已经成为最普
您知道唐僧师徒在南通长牌中分别是谁吗?
《西游记》中,猪八戒与孙悟空对峙打斗时,曾经这样说“放生遭贬出天关,福陵山下图家业。我因有罪错投胎,俗名唤做猪刚鬣”,这
【华为】新版模拟器eNSP Lite安装攻略提前解锁华为手机模拟器「【华为】新版模拟器eNSP Lite安装攻略提前解锁」
新版模拟器eNSP Lite资源下载:华为新版模拟器eNSPLite镜像资源资源-CSDN文库    最近华为发布了新版模拟器eNSP Lite
Android监控虚拟键 android手机虚拟摄像头手机IM「Android监控虚拟键 android手机虚拟摄像头」
在工作中,camera这一块上,可能会有各种各样的需求。比如有人想新增一个虚拟摄像头,当用户app打开摄像头设备时,打开的不是系
微信语音怎么提取到电脑【苹果安卓手机】苹果手机备份到电脑「微信语音怎么提取到电脑【苹果安卓手机】」
微信语音中可能保存着一些温馨记忆,如年迈父母发给自己的语音消息,微信语音中也可能保存着知识技能,如培训老师发给自己的各种
修成正果!安东尼已被通知入选2025年奈史密斯篮球名人堂
北京时间4月3日讯 据Shams Charania报道,十次入选NBA全明星的卡梅隆·安东尼已获通知,他被选入2025年奈史密斯篮球名人堂。曾六
在任意手机上使用带有图形化界面(GUI)的完整Linuxlinux手机「在任意手机上使用带有图形化界面(GUI)的完整Linux」
不过,在我们今天的任务中只有运行者两者。这篇教程不会讲述任何运行后的自定义使用。不同于之前的两次尝试——安装Window
腾讯史上最大就业计划技术岗超六成,大厂加码AI人才校招
4月17日,腾讯宣布启动史上最大就业计划,三年内将新增28000个实习岗位并加大转化录用,仅2025年将迎来10000名校招实习生。在大
纪律处罚消息两则:海港主教练穆斯卡特停赛1场罚款1万 & 广东男篮外援莫兰德罚款3万
各CBA俱乐部、赛区:2025年4月8日,2024-2025赛季CBA联赛季后赛12进8阶段场序467,上海久事大鲨鱼俱乐部久事篮球队与广东宏远华