# Docker installation Mac OSX

**URL:** <https://forums.docker.com/t/docker-installation-mac-osx/3500>\
**Category:** General\
**Created:** [September 22, 2015, 8:12am UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500 "2015-09-22T08:12:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![katyaa](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@katyaa](https://forums.docker.com/u/katyaa)\
**Post date:** [September 22, 2015, 8:12am UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500/1 "2015-09-22T08:12:46Z")

</div>

Hi, I just installed Docker Toolbox 1.8.2. However, when I run docker version, I get the following error:  
Get http:///var/run/docker.sock/v1.20/version: dial unix /var/run/docker.sock: no such file or directory.

- Are you trying to connect to a TLS-enabled daemon without TLS?
- Is your docker daemon up and running?

When I start Docker Quick Start Terminal, it spits out: /bin/bash: /bin/bash: cannot execute binary file

Any advice on how to resolve this? Thanks!

---

<div class="post-metadata">

**Author:** ![randyr505](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@randyr505](https://forums.docker.com/u/randyr505)\
**Post date:** [September 28, 2015, 5:56pm UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500/2 "2015-09-28T17:56:32Z")

</div>

I am getting the same thing. Additionally I can’t start docker in daemon mode with “docker daemon” (supposedly new in 1.8) nor with the previous docker -d.

---

<div class="post-metadata">

**Author:** ![ranjandas](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/ranjandas/32/2533_2.png) [@ranjandas](https://forums.docker.com/u/ranjandas)\
**Post date:** [September 29, 2015, 1:49am UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500/3 "2015-09-29T01:49:34Z")

</div>

Hi,

Would you like to try an alternate approach of using docker-machine directly instead of docker toolbox. [http://blog.ranjandas.me/installing-docker-on-osx-docker-machine/](http://blog.ranjandas.me/installing-docker-on-osx-docker-machine/)

Regards

---

<div class="post-metadata">

**Author:** ![katyaa](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@katyaa](https://forums.docker.com/u/katyaa)\
**Post date:** [September 29, 2015, 6:34am UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500/4 "2015-09-29T06:34:26Z")

</div>

@Randy, I got it working by restarting the docker machine (docker-machine restart default) and then running this command: eval $(docker-machine env default). After that everything worked for me as expected. The trick is to run the eval command every time you open a new terminal. Also, I left the machine running and don’t use the Docker Quick Start Terminal.

---

<div class="post-metadata">

**Author:** ![benma24](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/benma24/32/50044_2.png) [@benma24](https://forums.docker.com/u/benma24)\
**Post date:** [August 7, 2024, 11:45am UTC](https://forums.docker.com/t/docker-installation-mac-osx/3500/5 "2024-08-07T11:45:20Z")

</div>

HI,

You can follow the steps indicated into this article: [https://freecoder.dev/how-install-configure-docker-desktop-on-macos/](https://freecoder.dev/how-install-configure-docker-desktop-on-macos/)

Regards
