【重要資安警示】發現冒充 Qfinder Pro 的非官方網站,了解詳情 >

Why 'Remove' grey out of the docker container?


最後修訂日期: 2025-07-04

Applicable Products

Container Station


Root Cause

The 'Remove' button under Actions in Container Station could appear grey out if the container is in a transitional or unresponsive state (e.g., frozen, stuck in stopping, or not properly initialized). When this occurs, the UI prevents removal for safety or consistency.


Workaround

Method 1: Use SSH and Docker CLI  

1. SSH to NAS with an admistrator account and get root permission. 

2. List all containers (including stopped ones): 

docker ps -a 

3. Identify the container ID or name of the one you want to delete. 

4. Stop the container if it's running or unresponsive: 

docker stop <container name or id>

5. Remove the container: 

docker rm <container name or id>

If you encounter an error during stop or removal, add -f to force: 

docker rm -f <container name or id>


Method 2: Identify UI Restriction Reason  

Hover your mouse over the greyed-out "Remove" button in Container Station to see the tooltip. The message usually explains why removal is disabled (e.g., container is still initializing, locked by system, etc.)


Further Reading

How do I access my QNAP NAS using SSH?


這篇文章有幫助嗎?

100% 的人認為有幫助。
謝謝您,我們已經收到您的意見。

還有疑問?

在 QNAP 官方社群提問,獲得 QNAP 官方與熱心用戶的第一手建議。

前往社群發問

請告訴我們如何改進這篇文章:

如果您想提供其他意見,請於下方輸入。

選擇規格

      顯示更多 隱藏更多
      選擇其他偏好的語言:
      back to top