[重要安全性通知] 发现假冒 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?


这篇文章有帮助吗?

谢谢您,我们已经收到您的意见。

需要进一步协助,欢迎前往官方社区发帖,与其他用户及 QNAP 专家交流。 前往 QNAP 官方社区

请告诉我们如何改进这篇文章:

如果您想提供其他意见,请于下方输入。

选择规格

      显示更多 隐藏更多
      欢迎随时咨询! 欢迎随时咨询!
      back to top