I’m using tessypowder/backblaze-personal-wine, and I need to reinstall it due to some drive changes. I have tried docker rm [container ID], but when I add the container again, it seems to be stuck with the old wine settings. I have also tried adding it with a new name so it would theoretically be a totally new container, but that also seemed to inherit the broken wine settings.

I noticed that when I first install a container, there is a long ID string that seems to represent the container along with all the dependencies, but when I use docker ps, it only shows me a shorter string that seems to represent Backblaze alone. Should I be using rm with the longer string to remove wine too? If so, how can I get the terminal to display the full ID again so I can accomplish a full removal?

tl;dr How can I do a full removal of a docker container an all sub-programs (such as wine) that were installed along with it?

  • @MangoPenguin
    link
    English
    65 months ago

    docker rm removes the container and everything inside it.

    If you have any bind mounts or volumes with settings stored in there, you’ll need to remove those as well.