-1
I am using Docker Toolbox (Docker on Windows 10), when I have to give the command docker ps
it brings the following result:
error During connect: Get https://192.168.99.100:2376/v1.37/containers/json: dial tcp 192.168.99.100:2376: connectex: No connection can be made because the destination machine actively refused them.
I think this has made it impossible for me to start Docker Composer, because every time I try with Command docker-compose up -d
I have the following result
ERROR: Couldn’t connect to Docker daemon - you Might need to run
docker-machine start default
.
[EDIT]
When I give that command docker-machine start default
:
It returns me the following command
Starting "default"...
Machine "default" is already running.
How can I fix this?
Only when I turn this command
docker-machine start default
he returns me:Starting "default"...
Machine "default" is already running.
– adventistaam
Is the container itself not the problem? Remember that Docker ps should run on the virtual machine.
– XTRADE XTRADE
Is the container itself not the problem? Remember that Docker ps should run on the virtual machine. You can download the Docker extension for VS Code (if you use VS Code), it is very useful
– XTRADE XTRADE
And use by Vscode itself and it worked before. Now it is giving this message
– adventistaam
Already tried to run VS Code and Docker as administrator?
– XTRADE XTRADE
Does it stop like that? Out of nowhere? Because I was running normal
– adventistaam
I was also having problems running Docker, so I started running it as an administrator and solved.
– XTRADE XTRADE
When I try as an administrator, there’s this result:
rm: cannot remove '/c/Users/Carlos/.docker/machine/machines/default/disk.vmdk': Device or resource busy
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
– adventistaam