---
# System prepended metadata

title: '**Harbor 安裝**'
tags: [Docker, CICD, Micro-service, Harbor, Kubernetes]

---

# **Harbor 安裝**

## **1. 安裝 docker & docker-compose 套件**
```bash=

```
## **2. 安裝 Harbor 套件**
```bash=
$sudo curl https://github.com/goharbor/harbor/releases 
```
## **3. 調整 Harbor 配置檔**
```bash=
$sudo vi /opt/harbor/harbor.yml
```
```
```
```bash=
$cd /opt
$sudo sh install.sh
```
## **4. 第一次登入 Harbor 管理介面**
:::success
以瀏覽器鍵入 http://your_ip_address:9000
:::

## **5. In-secure 設定**
> 於各 Client 節點
```bash=
$sudo vi /usr/lib/systemd/system/crio.service
```
```
ExecStart=/usr/bin/crio \
          --insecure-registry=$your_ip_address:8081 \
```



###### tags: `Kubernetes` `Harbor` `Docker` `CICD` `Micro-service`