如何搜索 Docker 插件

How to search for Docker plugins

在 Docker 网站上,他们展示了如何安装插件 vieux/sshfs

$ docker plugin install vieux/sshfs

Plugin "vieux/sshfs" is requesting the following privileges:
- network: [host]
- capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y

vieux/sshfs

他们还有一个名为 寻找插件 的部分,他们在那里显示了 list 可用插件。

但他们没有显示完整列表。例如,插件 vieux/sshfs 没有出现在他们的列表中。

我在 Docker 中心找到了它:

所以我了解到插件与图像一起存储在 Docker 集线器中。

如何搜索插件?我没有看到任何选项来标记我想查看所有存在的插件(不是图像)。

So I understand that the plugins are stored together with the images in the Docker Hub.

你错了。插件不会与图像一起存储。插件 分发 作为 Docker 图像。文档特别指出 here:

Plugins are distributed as Docker images and can be hosted on Docker Hub or on a private registry.

所以在 Docker Hub 上你将无法判断它是否是一个插件,它是一个图像并且作为一个分发。唯一的方法就是事先知道。

P.S。如果你想要 Docker 个插件,请查看 Docker store ;)