# Config.json / credentials for Docker for Mac

**URL:** <https://forums.docker.com/t/config-json-credentials-for-docker-for-mac/24099>\
**Category:** Docker Desktop\
**Tags:** docker\
**Created:** [October 30, 2016, 10:00am UTC](https://forums.docker.com/t/config-json-credentials-for-docker-for-mac/24099 "2016-10-30T10:00:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajvr](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/ajvr/32/14114_2.png) [@ajvr](https://forums.docker.com/u/ajvr)\
**Post date:** [October 30, 2016, 10:00am UTC](https://forums.docker.com/t/config-json-credentials-for-docker-for-mac/24099/1 "2016-10-30T10:00:42Z")

</div>

Docker version 1.12.1, build 6f9534c

Hi I am a newbie in docker, I tried moving from docker-toolbox to “Docker for mac”. But I can’t seem to see the ~/.docker directory to put my config.json.

Where do I put this for Docker for Mac? The GUI of Docker for Mac does not have any option to add private repositories.

Thanks.

EDIT: I was able to make it work.

I created manually the .docker folder.

---

<div class="post-metadata">

**Author:** ![escheuter](https://avatars.discourse-cdn.com/v4/letter/e/7c8e57/32.png) [@escheuter](https://forums.docker.com/u/escheuter)\
**Post date:** [October 31, 2016, 10:59am UTC](https://forums.docker.com/t/config-json-credentials-for-docker-for-mac/24099/2 "2016-10-31T10:59:56Z")

</div>

You should put it in your home directory.

---

<div class="post-metadata">

**Author:** ![ajvr](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/ajvr/32/14114_2.png) [@ajvr](https://forums.docker.com/u/ajvr)\
**Post date:** [November 2, 2016, 5:01pm UTC](https://forums.docker.com/t/config-json-credentials-for-docker-for-mac/24099/3 "2016-11-02T17:01:49Z")

</div>

Nope. It did not work
