January-31st-2019, 03:05 PM
Well, here is our story that turns your story the way around:
My colleague is running a virtual machine on his windows system. In this Linux VM he installed docker and a registry for me and he using MACVLAN driver to give the VM a separate IP address in our office network. We are both in the same subnet and also my personal netPI is in the same subnet since we use the same network switch in the office network.
The name of this VM is "ps-virtualbox" as the hostname tells us running the "hostname" command in the VM.
I can tell you now that I am not able to ping his VM with e.g "ping ps-virtualbox" command nor "ping ps-virtualbox.local" over my Windows PC nor from a container running on netPI. But I am to ping his ip address 10.11.5.54.
And now comes the BIG but: on my netPi I created a custom registry like you
and you believe it or not ... portainer.io is able to pull an image from this registry server even the registry cannot be pinged (I think it is the MACVLAN driver supressing it ):
So right now I have no clue why it does not work in your constellation. Here it does well.
How about to use the ip-address as docker URL instead of docker01?
My colleague is running a virtual machine on his windows system. In this Linux VM he installed docker and a registry for me and he using MACVLAN driver to give the VM a separate IP address in our office network. We are both in the same subnet and also my personal netPI is in the same subnet since we use the same network switch in the office network.
The name of this VM is "ps-virtualbox" as the hostname tells us running the "hostname" command in the VM.
I can tell you now that I am not able to ping his VM with e.g "ping ps-virtualbox" command nor "ping ps-virtualbox.local" over my Windows PC nor from a container running on netPI. But I am to ping his ip address 10.11.5.54.
And now comes the BIG but: on my netPi I created a custom registry like you
and you believe it or not ... portainer.io is able to pull an image from this registry server even the registry cannot be pinged (I think it is the MACVLAN driver supressing it ):
So right now I have no clue why it does not work in your constellation. Here it does well.
How about to use the ip-address as docker URL instead of docker01?
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)