Difference between revisions of "How to use registry"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Line 1: Line 1:
 +
<span data-link_translate_ru_title="Как использовать реестра"  data-link_translate_ru_url="%D0%9A%D0%B0%D0%BA+%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D1%8C+%D1%80%D0%B5%D0%B5%D1%81%D1%82%D1%80%D0%B0"></span>[[:ru:Как использовать реестра]][[ru:Как использовать реестра]]
 
<span data-link_translate_ja_title="レジストリを使用する方法"  data-link_translate_ja_url="%E3%83%AC%E3%82%B8%E3%82%B9%E3%83%88%E3%83%AA%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95"></span>[[:ja:レジストリを使用する方法]][[ja:レジストリを使用する方法]]
 
<span data-link_translate_ja_title="レジストリを使用する方法"  data-link_translate_ja_url="%E3%83%AC%E3%82%B8%E3%82%B9%E3%83%88%E3%83%AA%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95"></span>[[:ja:レジストリを使用する方法]][[ja:レジストリを使用する方法]]
 
<span data-link_translate_ar_title="كيفية استخدام التسجيل"  data-link_translate_ar_url="%D9%83%D9%8A%D9%81%D9%8A%D8%A9+%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D8%A7%D9%84%D8%AA%D8%B3%D8%AC%D9%8A%D9%84"></span>[[:ar:كيفية استخدام التسجيل]][[ar:كيفية استخدام التسجيل]]
 
<span data-link_translate_ar_title="كيفية استخدام التسجيل"  data-link_translate_ar_url="%D9%83%D9%8A%D9%81%D9%8A%D8%A9+%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D8%A7%D9%84%D8%AA%D8%B3%D8%AC%D9%8A%D9%84"></span>[[:ar:كيفية استخدام التسجيل]][[ar:كيفية استخدام التسجيل]]

Revision as of 14:28, 18 November 2015

ru:Как использовать реестра ja:レジストリを使用する方法 ar:كيفية استخدام التسجيل zh:如何使用注册表 ro:Cum la spre folos registru pl:Jak korzystać z rejestru de:Gewusst wie: Verwenden der Registrierung nl:Hoe u register moet it:Come utilizzare il registro di sistema pt:Como usar o registro es:Cómo utilizar el registro fr:Comment utiliser registry


This article has been created by an automatic translation software. You can view the article source here.



That is what Registry

Registry is a container for storing and sharing images docker.

Installation

To create a container registry yor have to type this command :

docker run -p 5000:5000 -v <HOST_DIR>:/tmp/registry-dev registry \<br>
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \<br>
-e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \

Add an image

If we want to put an image from the machine that contains the container :

docker push localhost :5000/<image_name>



If we want to put an image from an external machine :

docker push <IP> :5000/<image_name>



<IP> corresponds to the ip of the machine that contains the container registry.

Look for an image an image

Are used to search a stored image :

docker search localhost :5000/<image_name>


or

docker search <IP> :5000/<image_name>


If your image contains the name of the creator of the image
Ex : user /Ubuntu

You can use a command to see all images from this user :

docker search localhost :5000/user

Retrieve an image an image

Now that an image is stored in the container registry You can recover it.

If you want to retrieve the picture from the machine that contains the container :

docker pull localhost :5000/<image_name>



If you want to retrieve an image from an external machine :

docker pull <IP>:5000/<image_name>




This article seemed you to be useful ?

0


You are not allowed to post comments.