> For the complete documentation index, see [llms.txt](https://cocktailcloud.gitbook.io/cocktail-cloud-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cocktailcloud.gitbook.io/cocktail-cloud-online/advanced-course/registry-vm-harbor.md).

# Registry VM이 아닌 다른 서버에서 Harbor 접근 방법

기본적으로 제공해 드린 Registry VM에서 Docker Container로 기동되어 있는 Harbor에 Pull / Push를 원칙으로 하지만 외부 서버에서 Harbor에 접근하려면 Harbor의 인증서가 필요합니다.

## 1. Harbor 인증서 다운로드

1\) 제공해드린 Registry VM에 접속 후 /etc/docker/certs.d/\[IP] 디렉토리의 ca.crt 파일을 다운로드합니다.

## 2. 외부 서버에 ca.crt 파일 업로드

1\) 다운받은 ca.crt파일을 제공해 드린 Registry VM과 동일하게 /etc/docker/certs.d 디렉토리에 \[IP] 디렉토리를 생성 후 해당 IP 디렉토리에 ca.crt 파일 업로드합니다.

2\) 외부 서버의 docker 재기동합니다.

3\) docker login 명령어로 도커에 로그인합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cocktailcloud.gitbook.io/cocktail-cloud-online/advanced-course/registry-vm-harbor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
