Docker n00b guide

Docker n00b guide

Installation: sudo pacman -S docker docker-compose Add yourself to the docker group: sudo gpasswd -a docker WARNING: Every user you add to the docker group is root equivalent. NOTE: It takes a reboot for this change to take effect. Enable and start deamon sudo systemctl enable --now docker.service docker.socket Common commands Build a container docker build -t . docker run -d -P OPTIONAL - Name your own docker instance name: sudo docker run -d --n

Read More

Pacman package manager basics

Pacman package manager basics

Installing a package sudo pacman -S Searching for a package sudo pacman -Ss Removing packages To remove a single package, leaving all of its dependencies installed: sudo pacman -R To remove a package and its dependencies which are not required by any other installed package: sudo pacman -Rs Cleaning the package cache The built-in option to remove all the cached packages that are not currently installed is: sudo pacman -Sc To cl

Read More