[管理工具] Portainer

Docker 是一套類Virtualization的方案, 透過container 的形式建立平台讓application 在其上運作. 其好處是由Docker engine 取代了 Guest OS 層面, 使架構更加輕量, 亦令資源可更有效運用. 

雖然Docker 效能吸引, 但在管理上, 與VMware 和VirtualBox 等比較, 沒有介面進行是一大弊病. 故找了Portainer, 一套網頁介面的Docker 管理工具.Portainer 是一套開源的docker 管理工具, 透過docker API 進行管理. 

而安裝亦相當方便, 只須要在可以上網而安裝了Docker 的電腦中輸入以下指令後用瀏覽器開啟便可:

docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer

若果公司須要開始部署docker 的話, 這會是一個入門首選.

參考資料

About C.H. Ling 260 Articles
a .net / Java developer from Hong Kong and currently located in United Kingdom. Thanks for Google because it solve many technical problems so I build this blog as return. Besides coding and trying advance technology, hiking and traveling is other favorite to me, so I will write down something what I see and what I feel during it. Happy reading!!!

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.