Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Docker

Install on Fedora

Podman comes installed with Fedora, no need to install docker 🎉

sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl enable --now docker
sudo usermod -a -G docker $(whoami)

Some random commands

  • docker exec [CONTAINER] --it [COMMAND]
  • mysqldump -h [HOST] -u [USER] -p[PASSWORD] [DATABASE_NAME] > dump.sql
  • docker cp [CONTAINER]:[CONTAINER_PATH] [HOST_PATH]