# portainer簡易操作(二)

## 更新運作中的容器很簡單，如果你希望更新容器到最新的映像檔時候，只要按下上排快捷鍵的「Recreate」按鈕

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh4YH-H7hZpsxc5THF%2F-Lkh5QNf7vcc193ZBkxb%2Fimage.png?alt=media\&token=449398b6-6b5f-4fdd-968c-6fa22cb3bee9)

它就會問你是不是確定要下載最新映像檔重新建立更新

<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh4YH-H7hZpsxc5THF%2F-Lkh5XAWGxExebFG8oSW%2Fimage.png?alt=media&#x26;token=5991b900-9a4f-49ab-9f94-9ed07cc81c3e" alt=""></div>



<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh4YH-H7hZpsxc5THF%2F-Lkh4ex-lvWbTuzuqDhU%2Fimage.png?alt=media&#x26;token=f34c0c87-9646-4c28-b28a-d6a14da39361" alt=""></div>

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh5sxMoPocIoviY4y9%2F-Lkh5wm45G-Sw__E1pIr%2Fimage.png?alt=media\&token=97b18ffd-6d04-4f50-bb0f-b3e5c9c6bb62)

<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh4YH-H7hZpsxc5THF%2F-Lkh5oCZ04L9ma0Ja32k%2Fimage.png?alt=media&#x26;token=19b25682-10cc-4756-873c-d1796221af06" alt=""></div>

來到 Portainer 的「images」頁面，可以發現很多黃色「Unused」沒在使用的舊映像檔，當你確認新的容器運作無誤後，直接把舊的映像檔勾選起來，然後按下「Remove」即可

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lkh7SNb7vbuX_FJkVzm%2F-Lkh83Hp9Xd9gQUdrvu4%2Fimage.png?alt=media\&token=0ba0ff84-5979-4c06-a267-0f6042ffea16)

