Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private docker registry folder structure

I have setup a private registry for storing the internal images. I am wondering if there is a good guide on how the folder layout should be. I am thinking of something like:

Dev
Test
Prod

The idea being Dev is where the developers can push all their images, test is where the CI CD pipeline verified images will go and Prod is where images are promoted from test folder with a new tag.

Any suggestions from your experience on what is a good setup?

like image 465
devops84uk Avatar asked Jun 25 '26 13:06

devops84uk


1 Answers

Let me recommend you use dev, test and prod as part of docker-registry name:

For example, if your registry is docker-registry.<your_org>.ofi:5000/<product>, you could use:

  • docker-registry.(your_org).ofi:5000/dev
  • docker-registry.(your_org).ofi:5000/test
  • docker-registry.(your_org).ofi:5000/prod

After that, you can add versioned images to docker-registry..ofi:5000/dev:yourimage-1.0, for example.

like image 64
Alejandro Galera Avatar answered Jun 28 '26 05:06

Alejandro Galera