Docker Hub Registry
Deprecation:
This is a deprecated document. We are no longer using Docker Hub as our container registry. We are now using Harbor. Please refer to the Harbor documentation for more information. The billing cycle will end on Dec. 22 2024 at which date the docker organization will be deleted.
This is our container image registry where we storage all of our applications images.
All repositories are stored under the smartweb organization: https://hub.docker.com/u/smartweb some are public, but most are private.
How to create a new repository
You have two options for creating a new repository:
- If you push to a non-existent registry within the smartweb organization, it will be created automatically for you. By default the registry is private and no teams have permissions for it.
- Go to https://hub.docker.com/repository/create?namespace=smartweb and create it.
After a repository is created you need to connect the teams to it.
- Go to the "Permission" tab under the newly created repository. e.g. https://hub.docker.com/repository/docker/smartweb/admin/permissions
- Add the team "readonly" with the
readonlypermission.
How to add a new employee to a team
When a new employee enters our team, they need to be added to the "readonly" team.
- The new employee needs to create an account on
hub.docker.comand enable 2FA. - Go to https://hub.docker.com/orgs/smartweb
- Click "Add member".
- Enter the username from step 1.