cBrandon Community

General Category => Linux Fixes => Topic started by: branx86 on July 26, 2026, 08:13:50 PM

Title: Linux Docker
Post by: branx86 on July 26, 2026, 08:13:50 PM
Install Docker CentOS -
Setup the repository:
sudo dnf install -y yum-utils
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Install Docker Engine:
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y

Boot and run:
sudo systemctl enable --now docker

Verify and Configure Permissions:
sudo usermod -aG docker $USER
newgrp docker







docker ps  - Shows docker images running
docker kill <container_id_or_name>  -Used to stop images
docker image prune # Remove old images
docker rmi <image_id> or docker image rm <image_name>:<tag>  -Remove docker image