Docker container inspect request

Request of inspect platform docker container

Endpoint

GET /api/platform/docker/container/inspect/

Auth

Authorization: Bearer ${token}

Query Parameters

KeyDefault
context
identity
sizefalse

Response

Json
[
    {
        "kind": "status",
        "payload": {
            "code": 0,
            "message": ""
        }
    },
    {
        "kind": "entity",
        "payload": {
            "app_armor_profile": "",
            "args": [
                ""
            ],
            "config": {
                "attach_stderr": false,
                "attach_stdin": false,
                "attach_stdout": false,
                "cmd": [
                    ""
                ],
                "domainname": "",
                "entrypoint": [
                    ""
                ],
                "env": [
                    ""
                ],
                "exposed_ports": {
                    "80/tcp": {}
                },
                "hostname": "",
                "image": "",
                "labels": {
                    "maintainer": ""
                },
                "on_build": null,
                "open_stdin": false,
                "stdin_once": false,
                "stop_signal": "",
                "tty": false,
                "user": "",
                "volumes": null,
                "working_dir": ""
            },
            "created": "",
            "driver": "",
            "exec_i_ds": null,
            "graph_driver": {
                "data": {
                    "id": "",
                    "lower_dir": "",
                    "merged_dir": "",
                    "upper_dir": "",
                    "work_dir": ""
                },
                "name": ""
            },
            "host_config": {
                "auto_remove": false,
                "binds": null,
                "blkio_device_read_bps": [],
                "blkio_device_read_i_ops": [],
                "blkio_device_write_bps": [],
                "blkio_device_write_i_ops": [],
                "blkio_weight": 0,
                "blkio_weight_device": [],
                "cap_add": null,
                "cap_drop": null,
                "cgroup": "",
                "cgroup_parent": "",
                "cgroupns_mode": "",
                "console_size": [
                    0
                ],
                "container_id_file": "",
                "cpu_count": 0,
                "cpu_percent": 0,
                "cpu_period": 0,
                "cpu_quota": 0,
                "cpu_realtime_period": 0,
                "cpu_realtime_runtime": 0,
                "cpu_shares": 0,
                "cpuset_cpus": "",
                "cpuset_mems": "",
                "device_cgroup_rules": null,
                "device_requests": null,
                "devices": [],
                "dns": [],
                "dns_options": [],
                "dns_search": [],
                "extra_hosts": null,
                "group_add": null,
                "io_maximum_bandwidth": 0,
                "io_maximum_i_ops": 0,
                "ipc_mode": "",
                "isolation": "",
                "links": null,
                "log_config": {
                    "config": {
                        "max_file": "",
                        "max_size": ""
                    },
                    "type": ""
                },
                "masked_paths": [
                    ""
                ],
                "memory": 0,
                "memory_reservation": 0,
                "memory_swap": 0,
                "memory_swappiness": null,
                "nano_cpus": 0,
                "network_mode": "",
                "oom_kill_disable": null,
                "oom_score_adj": 0,
                "pid_mode": "",
                "pids_limit": null,
                "port_bindings": {
                    "80/tcp": [
                        {
                            "HostIp": "",
                            "HostPort": ""
                        }
                    ]
                },
                "privileged": false,
                "publish_all_ports": false,
                "readonly_paths": [
                    ""
                ],
                "readonly_rootfs": false,
                "restart_policy": {
                    "maximum_retry_count": 0,
                    "name": ""
                },
                "runtime": "",
                "security_opt": null,
                "shm_size": 0,
                "ulimits": [],
                "userns_mode": "",
                "uts_mode": "",
                "volume_driver": "",
                "volumes_from": null
            },
            "hostname_path": "",
            "hosts_path": "",
            "id": "",
            "image": "",
            "log_path": "",
            "mount_label": "",
            "mounts": [],
            "name": "",
            "network_settings": {
                "bridge": "",
                "endpoint_id": "",
                "gateway": "",
                "global_i_pv_6_address": "",
                "global_i_pv_6_prefix_len": 0,
                "hairpin_mode": false,
                "i_pv_6_gateway": "",
                "ip_address": "",
                "ip_prefix_len": 0,
                "link_local_i_pv_6_address": "",
                "link_local_i_pv_6_prefix_len": 0,
                "mac_address": "",
                "networks": {
                    "bridge": {
                        "Aliases": null,
                        "DNSNames": null,
                        "DriverOpts": null,
                        "EndpointID": "",
                        "Gateway": "",
                        "GlobalIPv6Address": "",
                        "GlobalIPv6PrefixLen": 0,
                        "GwPriority": 0,
                        "IPAMConfig": null,
                        "IPAddress": "",
                        "IPPrefixLen": 0,
                        "IPv6Gateway": "",
                        "Links": null,
                        "MacAddress": "",
                        "NetworkID": ""
                    }
                },
                "ports": {},
                "sandbox_id": "",
                "sandbox_key": "",
                "secondary_i_pv_6_addresses": null,
                "secondary_ip_addresses": null
            },
            "path": "",
            "platform": "",
            "process_label": "",
            "resolv_conf_path": "",
            "restart_count": 0,
            "state": {
                "dead": false,
                "error": "",
                "exit_code": 0,
                "finished_at": "",
                "oom_killed": false,
                "paused": false,
                "pid": 0,
                "restarting": false,
                "running": false,
                "started_at": "",
                "status": ""
            }
        }
    }
]

Notes

  • Platform Permission Required