# Private registry with basic auth

**URL:** <https://forums.docker.com/t/private-registry-with-basic-auth/35389>\
**Category:** Docker Hub\
**Created:** [July 22, 2017, 11:13am UTC](https://forums.docker.com/t/private-registry-with-basic-auth/35389 "2017-07-22T11:13:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopkris2000](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@gopkris2000](https://forums.docker.com/u/gopkris2000)\
**Post date:** [July 22, 2017, 11:13am UTC](https://forums.docker.com/t/private-registry-with-basic-auth/35389/1 "2017-07-22T11:13:04Z")

</div>

Anyone suggest to setup a private registry with basic authentication to push images and allowed to pull from all?

I have tried few tools but mostly not working properly.

---

<div class="post-metadata">

**Author:** ![issjohnm](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/issjohnm/32/16618_2.png) [@issjohnm](https://forums.docker.com/u/issjohnm)\
**Post date:** [July 25, 2017, 4:05pm UTC](https://forums.docker.com/t/private-registry-with-basic-auth/35389/2 "2017-07-25T16:05:30Z")

</div>

There is a tutorial on digitalocean for setting it up on Ubuntu 14.04 that includes a section on setting up basic auth. I am not sure what OS you are using, but hopefully that gets you pointed in the right direction.
