When I try to run docker-machine start default
, I get Host does not exist: "default"
, I tried eval "$(docker-machine env default)"
, but still getting the same message. Where is the error ?
Ruby-on-rails – Rails, Docker: Host does not exist: “default”
dockerruby-on-rails
Related Topic
- Docker – How to deal with persistent storage (e.g. databases) in Docker
- Ruby-on-rails – Getting error: Peer authentication failed for user “postgres”, when trying to get pgsql working with rails
- Eclipse – Can’t install Eclipse Valgrind plugin
- Docker – How to copy files from host to Docker container
- Docker – How to copy Docker images from one host to another without using a repository
- Docker – From inside of a Docker container, how to connect to the localhost of the machine
- Docker – How to get into a Docker container’s shell
- Jquery – Capturing RadioButton click and taking action
Best Answer
Try simply to check what machine has been created (
docker-machine ls
):Then you can pick one and try your commands with it.
If there is none, you can create one first (
docker-machine create
).In the case of the OP:
Since the error message was:
One of the answers of "Docker command can't connect to docker daemon" should work: