Last active
May 24, 2020 07:34
-
-
Save andy51002000/b06b8204857f09e253ad9a753f145b38 to your computer and use it in GitHub Desktop.
Revisions
-
andy51002000 revised this gist
May 24, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -233,7 +233,7 @@ ], "Cmd": [ "-c", "docker inspect container step_1\n\n" ], "Image": "gcr.io/andy-prj/framy-shell", "Volumes": { -
andy51002000 created this gist
May 24, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,289 @@ [ { "Id": "5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d", "Created": "2020-05-24T07:18:53.264384127Z", "Path": "bash", "Args": [ "-c", "docker inspect step_1\n\n" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 6577, "ExitCode": 0, "Error": "", "StartedAt": "2020-05-24T07:18:53.73613295Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:be582505e66d6338efb77b54a660f11086584007d2779650480e6b9cd5237a37", "ResolvConfPath": "/var/lib/docker/containers/5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d/resolv.conf", "HostnamePath": "/var/lib/docker/containers/5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d/hostname", "HostsPath": "/var/lib/docker/containers/5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d/hosts", "LogPath": "/var/lib/docker/containers/5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d/5f0237609d811ed5067fd73694871f0abc8fa3a8d1dc30316ff25b17180d3f3d-json.log", "Name": "/step_1", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "unconfined", "ExecIDs": null, "HostConfig": { "Binds": null, "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "cloudbuild", "PortBindings": null, "RestartPolicy": { "Name": "", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Dns": null, "DnsOptions": null, "DnsSearch": null, "ExtraHosts": null, "GroupAdd": null, "IpcMode": "shareable", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": true, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": [ "label=disable" ], "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, "DiskQuota": 0, "KernelMemory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": false, "PidsLimit": 0, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "Mounts": [ { "Type": "volume", "Source": "home-volume", "Target": "/builder/home" }, { "Type": "bind", "Source": "/workspace", "Target": "/workspace" }, { "Type": "volume", "Source": "token-cache", "Target": "/root/tokencache" }, { "Type": "bind", "Source": "/var/run/docker.sock", "Target": "/var/run/docker.sock", "ReadOnly": true }, { "Type": "volume", "Source": "step-1-394ff814-3608-4e6b-b613-41634bc54d42", "Target": "/builder/outputs" } ], "MaskedPaths": null, "ReadonlyPaths": null }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/4d0ffb049f8c50ff855a1a83f8058b02df1e589ee0205a0cec8cb13e46319ace-init/diff:/var/lib/docker/overlay2/b8161d9a86a7dea2f82b38b2a3230ff5ac941e14da0c54c273e924cf566d2734/diff:/var/lib/docker/overlay2/59979af19788cbddad57328b235dbd379156db0a0e1ff261ca1155a7ce0ba092/diff:/var/lib/docker/overlay2/df17441dcc3f3aad98ffaab654139c5e180f095e34379b0844c53a22e70b58ae/diff:/var/lib/docker/overlay2/e402a0795529e7a453df3d79639d9adbf7b81851a8cbbcdd04e7c07f329a5827/diff:/var/lib/docker/overlay2/1331e547de6aaf08f384ee8e688b754877219cb36917a3a2ec9db477be938f32/diff:/var/lib/docker/overlay2/52909f92a4da35f463bd530659d87bea5d6a40dfb719665f052b7791a27e6383/diff", "MergedDir": "/var/lib/docker/overlay2/4d0ffb049f8c50ff855a1a83f8058b02df1e589ee0205a0cec8cb13e46319ace/merged", "UpperDir": "/var/lib/docker/overlay2/4d0ffb049f8c50ff855a1a83f8058b02df1e589ee0205a0cec8cb13e46319ace/diff", "WorkDir": "/var/lib/docker/overlay2/4d0ffb049f8c50ff855a1a83f8058b02df1e589ee0205a0cec8cb13e46319ace/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "volume", "Name": "step-1-394ff814-3608-4e6b-b613-41634bc54d42", "Source": "/var/lib/docker/volumes/step-1-394ff814-3608-4e6b-b613-41634bc54d42/_data", "Destination": "/builder/outputs", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "3c1f6675fd2338c8ff23d1041e53fca917d02ad9b7fd6bb3dc08e47b7859b59d", "Source": "/var/lib/docker/volumes/3c1f6675fd2338c8ff23d1041e53fca917d02ad9b7fd6bb3dc08e47b7859b59d/_data", "Destination": "/root/.config", "Driver": "local", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "6d1a8c2c550c2e2aa27fde19c00ac7990b1a48059cec20d77630185308e31a5d", "Source": "/var/lib/docker/volumes/6d1a8c2c550c2e2aa27fde19c00ac7990b1a48059cec20d77630185308e31a5d/_data", "Destination": "/root/.kube", "Driver": "local", "Mode": "", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "home-volume", "Source": "/var/lib/docker/volumes/home-volume/_data", "Destination": "/builder/home", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "/workspace", "Destination": "/workspace", "Mode": "", "RW": true, "Propagation": "rprivate" }, { "Type": "volume", "Name": "token-cache", "Source": "/var/lib/docker/volumes/token-cache/_data", "Destination": "/root/tokencache", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "bind", "Source": "/var/run/docker.sock", "Destination": "/var/run/docker.sock", "Mode": "", "RW": false, "Propagation": "rprivate" } ], "Config": { "Hostname": "5f0237609d81", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "HOME=/builder/home", "BUILDER_OUTPUT=/builder/outputs", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/google-cloud-sdk/bin/", "CLOUD_SDK_VERSION=292.0.0", "CLOUDSDK_PYTHON=python3" ], "Cmd": [ "-c", "docker inspect container step_1\n\ngcloud auth activate-service-account [email protected] --key-file=/build/cred-stage.json --project=framy-stage\ngcloud auth configure-docker\n\ndocker build -t gcr.io/framy-stage/bi-cronjob:b8413cb . \n\nif [ \"$?\" != \"0\" ]; then\n echo \"failed to create image\"\n exit 1\nfi\n" ], "Image": "gcr.io/andy-prj/framy-shell", "Volumes": { "/root/.config": {}, "/root/.kube": {} }, "WorkingDir": "/workspace", "Entrypoint": [ "bash" ], "OnBuild": null, "Labels": {} }, "NetworkSettings": { "Bridge": "", "SandboxID": "e1b8eb122945038271486daf1ca41f5d08c3b1d04b0db92fbd163b78621d9e30", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/e1b8eb122945", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "cloudbuild": { "IPAMConfig": null, "Links": null, "Aliases": [ "5f0237609d81" ], "NetworkID": "dfd1aec2761ea00abe1812b9b5cc42ce8721a54eb340677e3a2da1a33d522e85", "EndpointID": "cfcbd2f9cf2f6dc74323bd709bc90776acd2edf39ac349bae2624e60b4993701", "Gateway": "192.168.10.1", "IPAddress": "192.168.10.2", "IPPrefixLen": 24, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "02:42:c0:a8:0a:02", "DriverOpts": null } } } } ]