plugin inspect (実験的)

使い方: docker plugin inspect PLUGIN

プラグインに関する低レベルの情報を返す

  --help              使い方の表示

プラグインに関する情報を返します。デフォルトでは JSON アレイとしてコマンドの実行結果を表示します。

出力例:

$ docker plugin inspect tiborvass/no-remove:latest

{
    "Manifest": {
        "ManifestVersion": "",
        "Description": "A test plugin for Docker",
        "Documentation": "https://docs.docker.com/engine/extend/plugins/",
        "Entrypoint": [
            "plugin-no-remove",
            "/data"
        ],
        "Interface": {
            "Types": [
                "docker.volumedriver/1.0"
            ],
            "Socket": "plugins.sock"
        },
        "Network": {
            "Type": "host"
        },
        "Capabilities": null,
        "Mounts": [
            {
                "Name": "",
                "Description": "",
                "Settable": false,
                "Source": "/data",
                "Destination": "/data",
                "Type": "bind",
                "Options": [
                    "shared",
                    "rbind"
                ]
            },
            {
                "Name": "",
                "Description": "",
                "Settable": false,
                "Source": null,
                "Destination": "/foobar",
                "Type": "tmpfs",
                "Options": null
            }
        ],
        "Devices": [
            {
                "Name": "device",
                "Description": "a host device to mount",
                "Settable": false,
                "Path": null
            }
        ],
        "Env": [
            {
                "Name": "DEBUG",
                "Description": "If set, prints debug messages",
                "Settable": false,
                "Value": null
            }
        ],
        "Args": [
            {
                "Name": "arg1",
                "Description": "a command line argument",
                "Settable": false,
                "Value": null
            }
        ]
    },
    "Config": {
        "Mounts": [
            {
                "Source": "/data",
                "Destination": "/data",
                "Type": "bind",
                "Options": [
                    "shared",
                    "rbind"
                ]
            },
            {
                "Source": null,
                "Destination": "/foobar",
                "Type": "tmpfs",
                "Options": null
            }
        ],
        "Env": [],
        "Args": [],
        "Devices": null
    },
    "Active": true,
    "Name": "tiborvass/no-remove",
    "Tag": "latest",
    "ID": "ac9d36b664921d61813254f7e9946f10e3cadbb676346539f1705fcaf039c01f"
}

(読みやすくするため、出力を整形)