# How to share docker images with multiple private groups

**URL:** <https://ask.cyberinfrastructure.org/t/how-to-share-docker-images-with-multiple-private-groups/835>\
**Category:** Q&A\
**Tags:** docker, singularity, researcher\
**Created:** [April 5, 2019, 3:51pm UTC](https://ask.cyberinfrastructure.org/t/how-to-share-docker-images-with-multiple-private-groups/835 "2019-04-05T15:51:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bennett\_Wineholt](https://ask.cyberinfrastructure.org/user_avatar/ask.cyberinfrastructure.org/bennett_wineholt/32/174_2.png) [@Bennett\_Wineholt](https://ask.cyberinfrastructure.org/u/Bennett_Wineholt)\
**Post date:** [April 5, 2019, 3:51pm UTC](https://ask.cyberinfrastructure.org/t/how-to-share-docker-images-with-multiple-private-groups/835/1 "2019-04-05T15:51:21Z")

</div>

I deal with multiple user groups that each have custom docker software containers that must be kept private due to licensing and security concerns, but users of a particular group need to authenticate and retrieve docker images to run on cloud servers of various kinds.

What (if any) is the best working solution for willing groups to consolidate hosting and role based authenticated access control yet provide an easy docker pull for users?

For context, in the past in different environments I have used Docker Enterprise DTR, public Docker Hub, Gitlab registry, Amazon ECR, an sftp server with docker save and singularity tarballs, and custom temporary solutions self hosting an open source docker registry behind an nginx proxy with access controls in a private cloud. Some of these solutions either had high cost, poor experience, or did not fit the above scenario such as being burdensome for migration, backups, or maintaining multiple private group access roles for changing user lists.

---

<div class="post-metadata">

**Author:** ![Gregory\_Kurtzer](https://ask.cyberinfrastructure.org/user_avatar/ask.cyberinfrastructure.org/gregory_kurtzer/32/177_2.png) [@Gregory\_Kurtzer](https://ask.cyberinfrastructure.org/u/Gregory_Kurtzer)\
**Post date:** [April 10, 2019, 7:03pm UTC](https://ask.cyberinfrastructure.org/t/how-to-share-docker-images-with-multiple-private-groups/835/2 "2019-04-10T19:03:01Z")

</div>

This is one of the many reasons that Singularity was created. The SIF container image is just data on the file system, and can be accessed via POSIX compatible permissions on shared storage, archive, or any other transfer protocol.

> **[GitHub - sylabs/singularity: SingularityCE is the Community Edition of...](https://github.com/sylabs/singularity)**
>
> SingularityCE is the Community Edition of Singularity, an open source container platform designed to be simple, fast, and secure. - GitHub - sylabs/singularity: SingularityCE is the Community Editi...

Hope that helps!  
Greg
