I’m having some problem with running Docker commands. Trying to run docker info
gives the error:
error during connect: Get https://192.168.99.100:2376/v1.37/info: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
I’m using Docker Toolbox on Windows 10, since I have the Home edition of Windows.
And trying to run docker build -t mymachine:latest .
gives the error:
error during connect: Post https://192.168.99.100:2376/v1.37/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=8358b498bc34d1881144eda0484e7b76512e304bbacd02fa30d25afb67bf5f89&shmsize=0&t=mymachine%3Alatest&target=&ulimits=null: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
I have some other questions as well: How do I get an executable file and static assets into a Docker container using a Dockerfile, and how do I set environment variables on that Dockerfile? And the executable file I have also has an embedded web server, so I have to make sure it’s always running.