Removed a VS Code install and wiped out my docker containers
I had installed VS Code on my system via rpm package initially and was having trouble removing it. I wanted to remove it because it did not update properly and because I had figured out how to install it via the ostree so it would automatically update.
I eventually found a way to remove the pachage by running
sudo rpm-ostree reset --uninstall=code
because "rpm-ostree uninstall code" didn't seem to do anything.
Today though, i realized that my docker containers had completely disappeared. I figured that it was due to the "reset" that I did which probably reset the os to it's "base" container. None of the containers are super important and I've gotten everything back up and running fine, but just for the future:
1. If i run into an issue where i need to uninstall an rpm package, what is the proper way to do that?
2. Are docker images (i setup docker via ujust install-docker) supposed to persist when the base system is changed? And what did I do that screwed mine up?
Thanks to anyone who takes the time to help and answer my questions, really appreciate it!
Solution:Jump to solution
The command to remove a package is '"'rpm-ostree override remove PACKAGE_NAME"
Containers persists between update, it's most likely your reset command that fucked it up....
1 Reply
Solution
The command to remove a package is '"'rpm-ostree override remove PACKAGE_NAME"
Containers persists between update, it's most likely your reset command that fucked it up.