今天給大家推薦乙個好用的docker容器管理工具。首先在 docker hub 中拉取 portainer 映象,然後新建資料夾 portainer_install,並建立 docker-compose 檔案。
sudo docker search portainer
sudo docker pull portainer/portainer
如圖所示,我們拉取第乙個映象。
docker-compose.yml 檔案內容如下:
version: '2'
services:
portainer:
image: portainer/portainer
restart: always
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/docker/portainer/data:/data
在瀏覽器中輸入http://ip:9000
即可訪問,如圖所示:
介面如圖:
學習使我快樂!!!
PC實用工具推薦
pc實用工具推薦 utools是一款非常好用的桌面工具集和功能外掛程式,適用於多平台的電腦桌面,這東西相當於乙個輕量級應用入口,你可以通過快捷鍵撥出utools搜尋框快速開啟或用瀏覽器搜尋你需要的檔案,另外它強大的工具擴充套件庫能滿足你很多的日常功能需要 計算器,截圖裝置,文字轉換器等等不一一枚舉了...
實用工具特別推薦 Autoruns
典型的執行 windows?的 pc 在啟動時會載入一組專案,其中包括檔案 驅動程式 任務和服務。在某些時候,您很可能需要檢視並禁用某些啟動專案,以排除啟動衝突故障 跟蹤自動啟動序列中的惡意軟體 減少 windows 啟動時間或釋放記憶體和系統資源。系統配置實用程式 msconfig.exe 可以使...
linux實用工具
基本實用工具 ls 顯示檔名 list cat 顯示文字檔案內容 rm i 刪除檔案 remove i開啟選項 less more 分屏顯示檔案 hostname 顯示系統名 檔案操作 cp sourcefile destinationfile 複製檔案copy mv oldname newname...