Docker n00b guide

Docker n00b guide

Installation:sudo pacman -S docker docker-compose Add yourself to the docker group:sudo gpasswd -a <USER> 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 deamonsudo systemctl enable --now docker.service docker.socket Common commandsBuild a containerdocker build -t <docker_name> . docker run -d -P <docker_name> OPTIONAL - Name your own docker instance name: sudo docker run -d --name <instance_name> -p 81:80 <docker_name> Show Docker instances with namesdocker…

Read More

Pacman package manager basics

Pacman package manager basics

Installing a packagesudo pacman -S <package> Searching for a packagesudo pacman -Ss <description/name> Removing packagesTo remove a single package, leaving all of its dependencies installed: sudo pacman -R <package> To remove a package and its dependencies which are not required by any other installed package: sudo pacman -Rs <package> Cleaning the package cacheThe built-in option to remove all the cached packages that are not currently installed is: sudo pacman -Sc To clean the entire cache run this (be careful with this one): sudo pacman -Scc Removing unused packages (orphans)pacman -Rns…

Read More

Close You've successfully subscribed to ELI5.
Close Great! You've successfully signed up.
Close Welcome back! You've successfully signed in.
Close Success! Your account is fully activated, you now have access to all content.