How do I remove stale Docker "configurations"?

I don't even know what these are called, but how do I remove these?

 

0
8 comments

Those are docker-compose services PyCharm reads from docker-compose.yml configuration. You should be able to remove them by invoking the down command:

 

It is the equivalent of issuing `docker-compose down` command in the terminal from where the configuration file is located. 

0

This is a service:

 

This is something else created by the IDE. docker down does not remove these:

 

 

 

0

You need to expand down to the container and invoke Delete against it.
Make sure that you don't have showing stopped containers disabled behind the Filter icon.

0

"Make sure that you don't have showing stopped containers disabled behind the Filter icon."

Yea, that was the issue. Thanks.

1

Hello, 

i have similar issue, using intellij ultimate, and this approach didn't work.

there is an open issue: https://youtrack.jetbrains.com/issue/IDEA-285496/DockerCompose.-Cant-delete-docker-compose-node-which-contains-only-default-network

0

Hello!

a quick update, if anyone els still facing those unremovable compose items, i did this on latest intellij ultimate and it went well:

select compose project and select "jump to source" option

 

then on compose file uncheck this floating button top left inside editor:


after that the thing vanished!

 

9

Thank you, Leonardo. That did the trick for me!

0

Thank you Leonardo, I have been looking at this ghost docker-compose for many months now.

0

Please sign in to leave a comment.