{"id":30047744,"url":"https://github.com/tmax-cloud/install-registry","last_synced_at":"2025-08-07T09:58:22.184Z","repository":{"id":103403060,"uuid":"315493674","full_name":"tmax-cloud/install-registry","owner":"tmax-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-24T08:57:12.000Z","size":9359,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-01-24T11:11:31.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmax-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-11-24T02:13:30.000Z","updated_at":"2024-01-22T02:24:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca83f74c-590c-4266-8d3a-88e69dc9cc3a","html_url":"https://github.com/tmax-cloud/install-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmax-cloud/install-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmax-cloud","download_url":"https://codeload.github.com/tmax-cloud/install-registry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Finstall-registry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269236777,"owners_count":24383241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-07T09:57:49.117Z","updated_at":"2025-08-07T09:58:22.166Z","avatar_url":"https://github.com/tmax-cloud.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Registry 설치 가이드\n\n## 구성 요소 및 버전\n* docker-ce(v18.09.7)\n\n## 폐쇄망 설치 가이드\n  * image registry는 노드 1개(master)에서만 진행한다. \n  * 환경 설정\n    * run-registry.sh, docker-registry.tar를 Master 환경에 다운로드한다.\n        * https://github.com/tmax-cloud/install-registry/manifest\n        * git이 설치되어 있는 경우 clone\n           ```bash\n           $ git clone https://github.com/tmax-cloud/install-registry.git\n           $ cd install-registry/manifest\n           ```\n\n## 설치 가이드\n0. [docker 설치](#step-0-docker-%EC%84%A4%EC%B9%98)\n1. [registry 실행](#step-1-registry-%EC%8B%A4%ED%96%89)\n\n## Step 0. docker 설치\n* 목적 : `docker registry를 구축하기 위해 docker를 설치한다.`\n* 생성 순서 : \n    * docker를 설치한다.\n    ```bash\n    $ sudo yum install -y docker-ce\n    $ sudo systemctl start docker\n    $ sudo systemctl enable docker\n    ```\n    * docker damon에 insecure-registries를 등록한다.\n      * sudo vi /etc/docker/daemon.json\n    ```bash\n    {\n        \"insecure-registries\": [\"{IP}:5000\"]\n    }\n    ```\n    ![image](figure/docker_registry.PNG)\n    * docker를 재실행하고 status를 확인한다.\n    ```bash\n    $  sudo systemctl restart docker\n    $  sudo systemctl status docker\n    ```    \n    \n## Step 1. registry 실행\n* 목적 : `폐쇄망 환경에서 image 사용을 위한 registry를 구축한다.`\n* 생성 순서 : \n    * run-registry.sh를 실행한다.\n    \t * run-registry.sh, docker-registry.tar 파일이 같은 디렉토리({PWD})에 있어야 한다.\n    ```bash\n    $ sudo ./run-registry.sh {PWD} {IP}:5000\n    ex ) sudo ./run-registry.sh ~/install-registry/manifest 172.22.5.2:5000\n    ```\n    ![image](figure/registry.PNG)\n\n    * 확인\n    ```bash\n    $ curl {IP}:5000/v2/_catalog\n    ```\n    ![image](figure/catalog.PNG)\n\n## 삭제 가이드\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Finstall-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmax-cloud%2Finstall-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Finstall-registry/lists"}