Monthly Archives: March 2022

Docker cheatsheet

Installation: Official guide: https://docs.docker.com/engine/install Using dnf instead of yum (RH7/CO7/OL7) and dnf configure-manager instead of yum-configure-manager. Pull image / run container: sudo docker pull <image name> sudo docker run [opts] <repository>/<image name>:<version> or latest useful [opts]: –name <name> – run … Continue reading

Posted in cheatsheet, linux | Tagged | Leave a comment

Linux repositories & package management

yum – old (up to CentOS 7) dnf – new (since CentOS 8) dnf dnf update dnf upgrade dnf install <package name> dnf remove <package name> dnf list <package name> dnf module list <module name> dnf module reset <module name> … Continue reading

Posted in cheatsheet, linux | Tagged | Leave a comment