Cannot remove docker application and container in docker desktop

Viewed 3686

This nodedocker docker application has been stuck on my docker desktop for a while now. I've tried deleting it numerous times to no avail. Running docker ps shows no running container. I even tried deleting the container nodedocker_database_1, but the results the same. Running docker compose down -v tears down all other containers except for this one. Any sort of lead would be helpful.

enter image description here

4 Answers

I faced a similar problem -- individually removing all the containers via the app GUI resulted in the app being removed as well.

You can remove with terminal using this commands:

  • To list all containers with id and other infos

    docker ps -a

to remove the container:

docker rm "idOfContainer" without ""

Usually closing and restarting docker desktop fixes the issue.

don't try to delete the container group. If you delete the containers under the group one by one, your problem will be solved. The group is already deleted automatically.

Related