I have installed the docker-clip
plugin manager using the following commands:
curl -sf -o ~/.docker/cli-plugins/docker-clip
chmod +x ~/.docker/cli-plugins/docker-clip
And I have verified that docker-clip
is detected by Docker using grep docker info | grep clip
Then, I installed the expose plugin:
docker clip add lukaszlach/clips:expose
Listing the installed plugins via docker clip ls
gives the following output:
COMMAND IMAGE
expose lukaszlach/clips:expose
However, when I run:
docker expose nginx 80
I get the following error:
docker: 'expose' is not a docker command.
Why the expose plugin not recognized as a valid Docker command, even though docker clip ls
lists it?
Here is some additional information about my docker
which might be useful:
Client: Docker Engine - Community
Version: 27.5.1
API version: 1.47
Go version: go1.22.11
OS/Arch: linux/amd64
Context: desktop-linux
Server: Docker Desktop 4.37.1 (178610)
Engine:
Version: 27.4.0
API version: 1.47 (minimum version 1.24)
Go version: go1.22.10
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.21
runc:
Version: 1.1.13
docker-init:
Version: 0.19.0
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745099517a4611187.html
评论列表(0条)