docker inspect mycentos2

2023-10-12 04:32
文章标签 docker inspect mycentos2

本文主要是介绍docker inspect mycentos2,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

[root@localhost /]# docker inspect mycentos2
[
{
“Id”: “1360d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b42802eea994e6832”,
“Created”: “2019-12-31T10:42:49.80911834Z”,
“Path”: “/run.sh”,
“Args”: [],
“State”: {
“Status”: “running”,
“Running”: true,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 16961,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2019-12-31T11:16:05.934807762Z”,
“FinishedAt”: “2019-12-31T11:12:03.930589136Z”
},
“Image”: “sha256:99a633ad346ff9debae2e18ef28e36da72c4535d936500e497cd34377173d4b6”,
“ResolvConfPath”: “/var/lib/docker/containers/1370d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b42802eea994e6832/resolv.conf”,
“HostnamePath”: “/var/lib/docker/containers/1370d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b42802eea994e6832/hostname”,
“HostsPath”: “/var/lib/docker/containers/1370d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b42802eea994e6832/hosts”,
“LogPath”: “/var/lib/docker/containers/1370d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b428011eea994e6832/1370d2739cf1a68f0e98422d78ecb7b04b29977c2196f29b42802eea994e6832-json.log”,
“Name”: “/mycentos2”,
“RestartCount”: 0,
“Driver”: “overlay2”,
“Platform”: “linux”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: null,
“ContainerIDFile”: “”,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“NetworkMode”: “default”,
“PortBindings”: {},
“RestartPolicy”: {
“Name”: “no”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“CapAdd”: null,
“CapDrop”: null,
“Capabilities”: null,
“Dns”: [],
“DnsOptions”: [],
“DnsSearch”: [],
“ExtraHosts”: null,
“GroupAdd”: null,
“IpcMode”: “private”,
“Cgroup”: “”,
“Links”: null,
“OomScoreAdj”: 0,
“PidMode”: “”,
“Privileged”: false,
“PublishAllPorts”: false,
“ReadonlyRootfs”: false,
“SecurityOpt”: null,
“UTSMode”: “”,
“UsernsMode”: “”,
“ShmSize”: 67108864,
“Runtime”: “runc”,
“ConsoleSize”: [
0,
0
],
“Isolation”: “”,
“CpuShares”: 0,
“Memory”: 0,
“NanoCpus”: 0,
“CgroupParent”: “”,
“BlkioWeight”: 0,
“BlkioWeightDevice”: [],
“BlkioDeviceReadBps”: null,
“BlkioDeviceWriteBps”: null,
“BlkioDeviceReadIOps”: null,
“BlkioDeviceWriteIOps”: null,
“CpuPeriod”: 0,
“CpuQuota”: 0,
“CpuRealtimePeriod”: 0,
“CpuRealtimeRuntime”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“Devices”: [],
“DeviceCgroupRules”: null,
“DeviceRequests”: null,
“KernelMemory”: 0,
“KernelMemoryTCP”: 0,
“MemoryReservation”: 0,
“MemorySwap”: 0,
“MemorySwappiness”: null,
“OomKillDisable”: false,
“PidsLimit”: null,
“Ulimits”: null,
“CpuCount”: 0,
“CpuPercent”: 0,
“IOMaximumIOps”: 0,
“IOMaximumBandwidth”: 0,
“MaskedPaths”: [
“/proc/asound”,
“/proc/acpi”,
“/proc/kcore”,
“/proc/keys”,
“/proc/latency_stats”,
“/proc/timer_list”,
“/proc/timer_stats”,
“/proc/sched_debug”,
“/proc/scsi”,
“/sys/firmware”
],
“ReadonlyPaths”: [
“/proc/bus”,
“/proc/fs”,
“/proc/irq”,
“/proc/sys”,
“/proc/sysrq-trigger”
]
},
“GraphDriver”: {
“Data”: {
“LowerDir”: “/var/lib/docker/overlay2/f876fa7162798a61ab0557b090f4bf0f89a5b914ed0e872ea5300fade2ea35ae-init/diff:/var/lib/docker/overlay2/f53262793683babae274fa7316548f70ed598e0bef1ec9694d9d4913fc8ea726/diff:/var/lib/docker/overlay2/0218d5f0717dadf76ea4577eae072a1dcbdbbf54b5bbcf63bbc8e5d70000542d/diff:/var/lib/docker/overlay2/9d51f530547b446b7494d6b7f0dc4d01ed51f5209d097ef917afbf1cac14263b/diff:/var/lib/docker/overlay2/08b8a70476400213ef7e7fa9ebc37c74049b59bd28dfa43d3088e10dc97c45b8/diff:/var/lib/docker/overlay2/31e13f5852e1bb180d85987c9921a847c24239b2359c506946843a55fd25d159/diff:/var/lib/docker/overlay2/62c1c28d8a00d4888ffb4782e030c49170abec67268a6d00794b406f893d70e7/diff:/var/lib/docker/overlay2/3d7384ae66dfd2fda1b1b7086a246a7cd2acc983793f7dcfc6a61525a377252e/diff:/var/lib/docker/overlay2/5591b9ad032709e0ccd4293a7c66a93531c54aa78a7ce63955676077f407869f/diff:/var/lib/docker/overlay2/e62fb9c7b8d471daf74cba6555499177949cec8aa11ed4e9aff77f69af471433/diff:/var/lib/docker/overlay2/bee2f713960bc9028d678180b6aeef2698829419c7605987478787d2281fde98/diff:/var/lib/docker/overlay2/2dc5ee76946fa531432c13c48f26a1d34c603d5a0e3461055816c7aeed2c0ad0/diff:/var/lib/docker/overlay2/1a6d575b7d571f3b18bb1e090f240d5ab731e755f8523aa5f56cdc08303a02a7/diff”,
“MergedDir”: “/var/lib/docker/overlay2/f876fa7162798a61ab0557b090f4bf0f89a5b914ed0e872ea5300fade2ea35ae/merged”,
“UpperDir”: “/var/lib/docker/overlay2/f876fa7162798a61ab0557b090f4bf0f89a5b914ed0e872ea5300fade2ea35ae/diff”,
“WorkDir”: “/var/lib/docker/overlay2/f876fa7162798a61ab0557b090f4bf0f89a5b914ed0e872ea5300fade2ea35ae/work”
},
“Name”: “overlay2”
},
“Mounts”: [],
“Config”: {
“Hostname”: “1360d2739cf1”,
“Domainname”: “”,
“User”: “”,
“AttachStdin”: false,
“AttachStdout”: false,
“AttachStderr”: false,
“ExposedPorts”: {
“22/tcp”: {}
},
“Tty”: false,
“OpenStdin”: true,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“AUTHORIZED_KEYS=None
],
“Cmd”: [
“/run.sh”
],
“Image”: “tutum/centos”,
“Volumes”: null,
“WorkingDir”: “”,
“Entrypoint”: null,
“OnBuild”: null,
“Labels”: {
“build-date”: “2016-03-04”,
“license”: “GPLv2”,
“name”: “CentOS Base Image”,
“vendor”: “CentOS”
}
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “22c5d38a240b3a8fb4adeb0e98bae93a5f3673d5970681e35cd8541557f3dfef”,
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“Ports”: {
“22/tcp”: null
},
“SandboxKey”: “/var/run/docker/netns/22c5d38a240b”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “f4ead97c32d3f38800f90f460ed71de7a664e7b0ad31b66120cac68afd8215b8”,
“Gateway”: “172.17.0.1”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “172.17.0.2”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“MacAddress”: “02:42:ac:11:00:02”,
“Networks”: {
“bridge”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: null,
“NetworkID”: “0d93076d004416f0c4d60d355fedc4b89bb2e18de4ec7b5dde40ca9c83c35c15”,
“EndpointID”: “f4ead97c32d3f38800f90f460ed71de7a884e7b0ad31b66120cac68afd8215b8”,
“Gateway”: “172.17.0.1”,
“IPAddress”: “172.17.0.2”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“MacAddress”: “02:42:ac:11:00:02”,
“DriverOpts”: null
}
}
}
}
]

这篇关于docker inspect mycentos2的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/193278

相关文章

Docker镜像pull失败两种解决办法小结

《Docker镜像pull失败两种解决办法小结》有时候我们在拉取Docker镜像的过程中会遇到一些问题,:本文主要介绍Docker镜像pull失败两种解决办法的相关资料,文中通过代码介绍的非常详细... 目录docker 镜像 pull 失败解决办法1DrQwWCocker 镜像 pull 失败解决方法2总

通过Docker Compose部署MySQL的详细教程

《通过DockerCompose部署MySQL的详细教程》DockerCompose作为Docker官方的容器编排工具,为MySQL数据库部署带来了显著优势,下面小编就来为大家详细介绍一... 目录一、docker Compose 部署 mysql 的优势二、环境准备与基础配置2.1 项目目录结构2.2 基

关于Docker Desktop的WSL报错问题解决办法

《关于DockerDesktop的WSL报错问题解决办法》:本文主要介绍关于DockerDesktop的WSL报错问题解决办法的相关资料,排查发现是因清理%temp%文件夹误删关键WSL文件,... 目录发现问题排查过程:解决方法其实很简单:重装之后再看就能够查到了:最后分享几个排查这类问题的小www.cp

如何使用Docker部署FTP和Nginx并通过HTTP访问FTP里的文件

《如何使用Docker部署FTP和Nginx并通过HTTP访问FTP里的文件》本文介绍了如何使用Docker部署FTP服务器和Nginx,并通过HTTP访问FTP中的文件,通过将FTP数据目录挂载到N... 目录docker部署FTP和Nginx并通过HTTP访问FTP里的文件1. 部署 FTP 服务器 (

解读docker运行时-itd参数是什么意思

《解读docker运行时-itd参数是什么意思》在Docker中,-itd参数组合用于在后台运行一个交互式容器,同时保持标准输入和分配伪终端,这种方式适合需要在后台运行容器并保持交互能力的场景... 目录docker运行时-itd参数是什么意思1. -i(或 --interactive)2. -t(或 --

Docker部署Jenkins持续集成(CI)工具的实现

《Docker部署Jenkins持续集成(CI)工具的实现》Jenkins是一个流行的开源自动化工具,广泛应用于持续集成(CI)和持续交付(CD)的环境中,本文介绍了使用Docker部署Jenkins... 目录前言一、准备工作二、设置变量和目录结构三、配置 docker 权限和网络四、启动 Jenkins

ElasticSearch+Kibana通过Docker部署到Linux服务器中操作方法

《ElasticSearch+Kibana通过Docker部署到Linux服务器中操作方法》本文介绍了Elasticsearch的基本概念,包括文档和字段、索引和映射,还详细描述了如何通过Docker... 目录1、ElasticSearch概念2、ElasticSearch、Kibana和IK分词器部署

docker如何删除悬空镜像

《docker如何删除悬空镜像》文章介绍了如何使用Docker命令删除悬空镜像,以提高服务器空间利用率,通过使用dockerimage命令结合filter和awk工具,可以过滤出没有Tag的镜像,并将... 目录docChina编程ker删除悬空镜像前言悬空镜像docker官方提供的方式自定义方式总结docker

更改docker默认数据目录的方法步骤

《更改docker默认数据目录的方法步骤》本文主要介绍了更改docker默认数据目录的方法步骤,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一... 目录1.查看docker是否存在并停止该服务2.挂载镜像并安装rsync便于备份3.取消挂载备份和迁

Docker集成CI/CD的项目实践

《Docker集成CI/CD的项目实践》本文主要介绍了Docker集成CI/CD的项目实践,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学... 目录一、引言1.1 什么是 CI/CD?1.2 docker 在 CI/CD 中的作用二、Docke