Harbor üzerine Docker imajı gönderebilme

harbor-uzerine-docker-imaji-gonderebilme

Kendi yerel sisteminizde veya herhangi bir docker sisteminde oluşturduğunuz docker imajını Harbor sunucusuna gönderebilmek için aşağıdaki yöntemler uygulanmaktadır.

Öncelikle kendi docker imaj listenizde Harbor’ın adresini de içerecek şekilde tag eklenmesi gerekmekte. Yani örneğin Harbor adresimiz “harbor.acik.lab“, ekleyeceğimiz proje “proje01” ve imajımızın ismi “ornekrepo” ise aşağıdaki şekilde tagleme işlemi yapılabilecektir.

docker tag ornekrepo:latest harbor.acik.lab/proje01/ornekrepo

Bu adımda ornekrepo’ya bir tag eklenmiş olmaktadır. Bu adımdan sonra imajı göndereceğiniz harbor adresine giriş yapmanız gerekiyor. Yetki seviyenize göre kullanıcı adı ve parolanızı aşağıdaki şekilde girmeniz gerekmektedir.

docker login harbor.acik.lab

Bu adımlardan sonra ilgili tag’i harbor’a gönderebilmek için aşağıdaki gibi docker push komutunu kullanmanız yeterli olacaktır.

docker push harbor.acik.lab/proje01/ornekrepo
Total
0
Shares
1 comment
  1. What i don’t understood is actually how you’re now not actually a lot more well-liked than you may be right now. You’re very intelligent. You realize therefore significantly in relation to this matter, produced me for my part imagine it from so many numerous angles. Its like women and men are not fascinated except it is something to accomplish with Woman gaga! Your personal stuffs nice. All the time take care of it up!

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
what-is-marketing-attribution-&-how-do-you-report-on-it?

What Is Marketing Attribution & How Do You Report on It?

Next Post
what-are-okrs-in-product-marketing?

What are OKRs in product marketing?

Related Posts