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
$ docker plugin ls
ID NAME TAG DESCRIPTION ENABLED 69553ca1d789 vieux/sshfs latest the `sshfs` plugin true
使用sshfs插件创建数据卷:
1 2 3 4 5 6 7 8 9 10
$ docker volume create -d vieux/sshfs -o sshcmd=<user@host:path> -o password=<password> sshvolume sshvolume $ docker volume ls DRIVER VOLUME NAME local 2d75de358a70ba469ac968ee852efd4234b9118b7722ee26a1c5a90dcaea6751 local 842a765a9bb11e234642c933b3dfc702dee32b73e0cf7305239436a145b89017 local 9d72c664cbd20512d4e3d5bb9b39ed11e4a632c386447461d48ed84731e44034 local be9632386a2d396d438c9707e261f86fd9f5e72a7319417901d84041c8f14a4d local e1496dfe4fa27b39121e4383d1b16a0a7510f0de89f05b336aab3c0deb4dda0e vieux/sshfs sshvolume