See list of containers

Asked

Viewed 45 times

-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?

1 answer

0

You have to start the virtual machine that will host the Docker. It is not finding the virtual machine. Check Virtualbox for a running machine

  • Only when I turn this command docker-machine start default he returns me: Starting "default"...
Machine "default" is already running.

  • Is the container itself not the problem? Remember that Docker ps should run on the virtual machine.

  • 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

  • And use by Vscode itself and it worked before. Now it is giving this message

  • Already tried to run VS Code and Docker as administrator?

  • Does it stop like that? Out of nowhere? Because I was running normal

  • I was also having problems running Docker, so I started running it as an administrator and solved.

  • 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...

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.