# Docker machine does not exist error

**URL:** <https://forums.docker.com/t/docker-machine-does-not-exist-error/64220>\
**Category:** Docker Desktop\
**Tags:** macos\
**Created:** [December 2, 2018, 4:42pm UTC](https://forums.docker.com/t/docker-machine-does-not-exist-error/64220 "2018-12-02T16:42:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![papajo](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/papajo/32/21909_2.png) [@papajo](https://forums.docker.com/u/papajo)\
**Post date:** [December 2, 2018, 4:42pm UTC](https://forums.docker.com/t/docker-machine-does-not-exist-error/64220/1 "2018-12-02T16:42:35Z")

</div>

I have a strange situation which deserves some additional help.  
I am testing a docker container which I plan to deploy on aws ec2 instance so I believe I performed all the necessary preliminary tasks (docker -compose build etc) of creating a docker-machine etc. Although the command create docker-machine looks like succeeded (after many attempts) the subsequent cli commands say that no such docker-machine exist. I am unsure as to what seems to be the issue here. Has anyone had any similar issues?

$ docker-machine env testdriven-prod  
Docker machine “testdriven-prod” does not exist. Use “docker-machine ls” to list  
machines. Use “docker-machine create” to add a new one.  
$ docker-machine ls  
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS  
default virtualbox Timeout  
testdriven-drop amazonec2 Timeout \<== this is the one I’m interested in  
testinstance-1 amazonec2 Timeout

Version 2.0.0.0-mac81 (29211)  
Channel: stable  
4271b9e6a8  
Engine: 18.09.0  
Compose: 1.23.2  
Machine: 0.16.0  
MacOS Mojave 10.14.1

Any help is appreciated. Thanks in advance.  
PJ.
