Skip to content
Advertisement

“Default” docker machine does not exist on Linux when Docker daemon is running

I’m running Docker on Linux Manjaro. No problem with running and using the service:

JavaScript

However, docker-machine ls will always show this:

JavaScript

and

JavaScript

Why isn’t there the ‘default’ machine available?

Advertisement

Answer

Since you have installed docker on Linux, you can access it directly on the host with docker ps or any other docker commands. You will need to either run these commands as root (sudo) or add your user to the docker group for access to the docker socket.

Docker machine is used to quickly spin up cloud and virtual machine instances of docker, so it’s not needed when you have installed it directly on the Linux host.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement