Docker Remote API with Weave -


i trying create docker container using docker remote apiv1.23

i not able create docker container in weave.

i have started weave-proxy following command:

weave launch-proxy -h tcp://0.0.0.0:12375 -h     unix:///var/run/weave/weave.sock 

and in post body of container creation call setting enviornment

docker_host=tcp://0.0.0.0:12375 

can me in this?

solution: instead of hitting docker daemon on docker port(in case 4242) hit weave proxy port (in case 12375)

for example: docker -h tcp://0.0.0.0:12375 run ..... 

when using remote api, use 12375 port instead of 4242. there no need set environment variable related weave.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -