---
# System prepended metadata

title: infoblox docker install to csp
tags: [infoblox]

---

# 8912LAB

[參考文章連結](https://insights.infoblox.com/resources-deployment-guides/infoblox-deployment-guide-bloxone-ddi-on-prem-deployment-for-docker-and-vmware-hosts)


> 下載資源

wget https://s3.amazonaws.com/ib-noa-prod.csp.infoblox.com/BloxOne_OnPrem_Docker_5.2.5.tar.gz

需注意過舊版本可能不支援
![](https://hackmd.io/_uploads/HJ8ViQleT.png)
這邊一開始3.3.6不會出現在portal
![](https://hackmd.io/_uploads/Sy_dj7lgp.png)

`docker load -i BloxOne_OnPrem_Docker_5.2.5.tar.gz`
`docker images`

會需要先建立token資訊(於此介面按下Create)
![](https://hackmd.io/_uploads/SyX7RhMla.png)

注意只能複製一次

> token
Tg2zV1g203XlIK7z7Rg8w1r2-aI5R2qGMV0uM4BAzqXl
> token2
pp46WNOPE8W2AKipj-ACg5y2qPQqDrPG9OJ0MgxCep7E


---

> token
ZATL4hI1E_8u3LBPAMbBPUu0J_uIeEWzSSWN5fI9ewz3
> token2
VYurJdHVeHedTcE_hEJemqk4hWaAZxLXfMSB634LvLd3
###### 設定加入csp

```
sudo docker run -d \
--name blox.noa \
--network=host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/infoblox/certs:/var/lib/infoblox/certs \
-v /etc/onprem.d/:/etc/onprem.d/ \
-v /etc:/mount/etc:ro \
-v /usr/share/zoneinfo:/usr/share/zoneinfo:ro \
infobloxcto/onprem.agent:v5.2.5 \
--jointoken=VYurJdHVeHedTcE_hEJemqk4hWaAZxLXfMSB634LvLd3
```
docker ps


完成後在csp頁面的infrastrature 就會出現
![](https://hackmd.io/_uploads/B1XRqmlx6.png)
這邊會需要約20分鐘時間Onboard
