This commit is contained in:
pashko 2025-04-25 22:05:52 +08:00
parent 6d96394569
commit f1bfda3730

277
1 Normal file
View File

@ -0,0 +1,277 @@
docker inspect gitlab-runner-sed01
[
{
"Id": "0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474",
"Created": "2025-04-25T13:55:30.790849265Z",
"Path": "/usr/bin/dumb-init",
"Args": [
"/entrypoint",
"bash",
"-c",
"echo 'Start script'; chmod +x ./register-runner.sh; ./register-runner.sh"
],
"State": {
"Status": "restarting",
"Running": true,
"Paused": false,
"Restarting": true,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 1,
"Error": "",
"StartedAt": "2025-04-25T13:55:56.105335085Z",
"FinishedAt": "2025-04-25T13:55:56.45017355Z"
},
"Image": "sha256:637e6ed53cb15ac234a83467e27a71202a50d0888f4e553e0aae262f8a43acd5",
"ResolvConfPath": "/docker/containers/0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474/resolv.conf",
"HostnamePath": "/docker/containers/0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474/hostname",
"HostsPath": "/docker/containers/0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474/hosts",
"LogPath": "/docker/containers/0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474/0bd77b8b7bd3653591c98bcd30a15fdaaca66901c8504f0e8ae708a886a3c474-json.log",
"Name": "/gitlab-runner-sed01",
"RestartCount": 8,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/var/run/docker.sock:/var/run/docker.sock:rw",
"/home/dev01/dev/gitlab-runner/config:/etc/gitlab-runner:rw",
"/home/dev01/dev/gitlab-runner/register-runner.sh:/register-runner.sh:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "gitlab-runner_default",
"PortBindings": {},
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"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": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": null,
"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": "/docker/overlay2/535d3f83cde7a271958152324f60b911d0bb3b95193c140fe45282208dff2330-init/diff:/docker/overlay2/c91bb7952eead2b157f8cab1af3e122ab162dc085ae60544fa99220c8223e107/diff:/docker/overlay2/761b65f201dce8c64ffca38655d151ea9f745c7725b28c2d813dd9006930abe0/diff:/docker/overlay2/f8a53a8e7e1c194fa5fd27e18105fc123913ae1f825b1ac4ce86ef34d3b1f67b/diff:/docker/overlay2/34a64829b3d3f1d53bceb91f6873675ff3ec67dd0202dac25fc18797d6cfbd08/diff:/docker/overlay2/ba38ad7dfb37b618a1f2b69a615b5bab223ce1e0087816cca8ec37ed7ff5bf38/diff",
"MergedDir": "/docker/overlay2/535d3f83cde7a271958152324f60b911d0bb3b95193c140fe45282208dff2330/merged",
"UpperDir": "/docker/overlay2/535d3f83cde7a271958152324f60b911d0bb3b95193c140fe45282208dff2330/diff",
"WorkDir": "/docker/overlay2/535d3f83cde7a271958152324f60b911d0bb3b95193c140fe45282208dff2330/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/dev01/dev/gitlab-runner/register-runner.sh",
"Destination": "/register-runner.sh",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "1f2b31c160bbbc932b602c25541513b57ec657fc987b1f8abf6a47fd7bd4b8a5",
"Source": "/docker/volumes/1f2b31c160bbbc932b602c25541513b57ec657fc987b1f8abf6a47fd7bd4b8a5/_data",
"Destination": "/home/gitlab-runner",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
},
{
"Type": "bind",
"Source": "/var/run/docker.sock",
"Destination": "/var/run/docker.sock",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/home/dev01/dev/gitlab-runner/config",
"Destination": "/etc/gitlab-runner",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "0bd77b8b7bd3",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"CONCURRENT=10",
"DOCKER_IMAGE=sed-docker.nexus.local/docker:27.3.1",
"CONTAINER_IMAGE=docker.nexus.local/gitlab/gitlab-runner:16.4.0-cert",
"CONTAINER_NAME=gitlab-runner-sed01",
"CI_SERVER_URL=https://gitlab.tn.tngrp.ru",
"REGISTRATION_TOKEN=glrt-t1_C6xyFMNQQyyYAoUi8aW5",
"EXECUTOR=docker",
"DESCRIPTION=docker-runner-sed01",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"bash",
"-c",
"echo 'Start script'; chmod +x ./register-runner.sh; ./register-runner.sh"
],
"Image": "kisup-docker.nexus.local/gitlab/gitlab-runner:16.4.0-cert",
"Volumes": {
"/etc/gitlab-runner": {},
"/home/gitlab-runner": {},
"/register-runner.sh": {},
"/var/run/docker.sock": {}
},
"WorkingDir": "",
"Entrypoint": [
"/usr/bin/dumb-init",
"/entrypoint"
],
"OnBuild": null,
"Labels": {
"com.docker.compose.config-hash": "3aa830be36b09d724898bc09e5ff014fac0ac4b0a657ed329748f5664c2ae60c",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:637e6ed53cb15ac234a83467e27a71202a50d0888f4e553e0aae262f8a43acd5",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "gitlab-runner",
"com.docker.compose.project.config_files": "/home/dev01/dev/gitlab-runner/docker-compose.yml",
"com.docker.compose.project.working_dir": "/home/dev01/dev/gitlab-runner",
"com.docker.compose.service": "gitlab-runner",
"com.docker.compose.version": "2.6.0",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "20.04"
},
"StopSignal": "SIGQUIT"
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "18eefa5ab2242654c15391389a7a4fea307b06a3e9ce0ecc74213f3809ab2857",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/18eefa5ab224",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"gitlab-runner_default": {
"IPAMConfig": null,
"Links": null,
"Aliases": [
"gitlab-runner-sed01",
"gitlab-runner",
"0bd77b8b7bd3"
],
"NetworkID": "0ec90b40a434d6aee94cdbccce9caf8f9246c893159dcc5ae3a649c19c6c8915",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]