infobloxopen / docker-infoblox

IPAM driver for Docker and Infoblox
Apache License 2.0
23 stars 23 forks source link

Error response from daemon: invalid ipam driver: "infoblox" #53

Closed antw12000 closed 6 years ago

antw12000 commented 6 years ago

Hello, I'm having issues with running docker on a Ubuntu box in the AWS cloud. I followed all the step for installing in Linux but I keep getting an "Error response from daemon: invalid ipam driver: infoblox." What exactly does it mean when it says "invalid?"

sudo docker run -e DOCKER_API_VERSION=1.22 -v /var/run:/var/run -v /run/docker:/run/docker infoblox/ipam-driver --grid-host=my-host.com --wapi-username=ib-wapi --wapi-password=infoblox --local-view=local_view --local-network-container="192.168.0.0/16" --local-prefix-length=24 --global-view=global_view --global-network-container="192.169.0.0/16" --global-prefix-length=24

/var/lib/docker/plugins# ls b868c7f390ca140e68f0cd496742b91810ac11178def1ba55043ca76454a7306 storage tmp root@ip-10-59-17-132:/var/lib/docker/plugins# docker plugin ls ID NAME DESCRIPTION ENABLED b868c7f390ca infoblox:latest Infoblox IPAM plugin for Docker true

docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES dbce83471a73 1904fd8a2b09 "/ipam-driver --grid…" 33 minutes ago Up 33 minutes suspicious_sammet

sudo docker network create --ipam-driver=infoblox priv-net Error response from daemon: invalid ipam driver: "infoblox"

sudo docker network create --ipam-driver=infoblox:latest priv-net Error response from daemon: invalid ipam driver: "infoblox:latest"

sudo docker network create --ipam-driver=Infoblox:latest priv-net Error response from daemon: plugin "Infoblox:latest" not found

antw12000 commented 6 years ago

Don't know what I did but after removing and installing the plugin for the umpteenth time it's finally working. No more stupid Daemon errors!

s# sudo docker network create --ipam-driver=infoblox priv-net Error response from daemon: invalid ipam driver: "infoblox"

sudo docker network create --ipam-driver=infoblox:latest priv-net

Error response from daemon: invalid ipam driver: "infoblox:latest"

sudo docker network create --ipam-driver=Infoblox:latest priv-net

Error response from daemon: plugin "Infoblox:latest" not found

docker plugin install --alias infoblox store/infoblox/ipam-plugin:1.1.0 CONF_FILE_NAME=docker-infoblox.conf

Plugin "store/infoblox/ipam-plugin:1.1.0" is requesting the following privileges:

docker plugin ls

ID NAME DESCRIPTION ENABLED b868c7f390ca infoblox:latest Infoblox IPAM plugin for Docker true

docker plugin rm -f b868c7f390ca

b868c7f390ca

docker plugin ls

ID NAME DESCRIPTION ENABLED

docker plugin install --alias infoblox store/infoblox/ipam-plugin:1.1.0 CONF_FILE_NAME=docker-infoblox.conf

Plugin "store/infoblox/ipam-plugin:1.1.0" is requesting the following privileges:

sudo docker network create --ipam-driver=infoblox priv-net

Error response from daemon: invalid ipam driver: "infoblox"

docker plugin install --grant-all-permissions --alias infoblox store/infoblox/ipam-plugin:1.1.0 CONF_FILE_NAME=docker-infoblox.conf

Error response from daemon: plugin infoblox:latest already exists

docker plugin ls

ID NAME DESCRIPTION ENABLED 23bc36a996ce infoblox:latest Infoblox IPAM plugin for Docker true

docker plugin rm -f 23bc36a996ce

23bc36a996ce

docker plugin install --grant-all-permissions --alias infoblox store/infoblox/ipam-plugin:1.1.0 CONF_FILE_NAME=docker-infoblox.conf

1.1.0: Pulling from store/infoblox/ipam-plugin 344baff96e86: Download complete Digest: sha256:fe4bf21539cbdd2fe29a52458d1f99e884f6c1e0d9324e1b4e49a5f316b8d4f3 Status: Downloaded newer image for store/infoblox/ipam-plugin:1.1.0 Installed plugin store/infoblox/ipam-plugin:1.1.0

docker plugin ls

ID NAME DESCRIPTION ENABLED dcb4981cc433 infoblox:latest Infoblox IPAM plugin for Docker true

sudo docker network create --ipam-driver=infoblox priv-net

Error response from daemon: invalid ipam driver: "infoblox"

sudo docker network create --ipam-driver=infoblox:latest priv-net

e0e8e2a1c792499dcf676823c6199210fc5dd510ca4878b6c1515d5e6ef4d847 . ---Eureka!!!

docker network ls

NETWORK ID NAME DRIVER SCOPE cca48ad1823b bridge bridge local df15ff003cce host host local e9d1b0639e3b none null local e0e8e2a1c792 priv-net bridge local

docker run -it --network priv-net alpine /bin/sh

Unable to find image 'alpine:latest' locally latest: Pulling from library/alpine 8e3ba11ec2a2: Pull complete Digest: sha256:7043076348bf5040220df6ad703798fd8593a0918d06d3ce30c6c93be117e430 Status: Downloaded newer image for alpine:latest / # -------Yes! Everything is AWESOME!!!!