Ref: https://docs.docker.com/install/linux/docker-ce/fedora/
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf -y install docker-ce docker-ce-cli containerd.io
## Cgroups Exception For Fedora 31 (https://fedoraproject.org/wiki/Common_F31_bugs#Other_software_issues)
sudo dnf -y install grubby
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
sudo usermod -aG docker "$(logname)"
sudo shutdown -r now # Reboot is required to gain group privileges when in a VM (logout/login otherwise)
sudo systemctl enable --now docker
docker run hello-world
Ref: https://docs.brew.sh/Homebrew-on-Linux
## Install dependencies for homebrew
sudo dnf group -y install 'Development Tools'
sudo dnf -y install curl file git
sudo dnf -y install libxcrypt-compat # needed by Fedora 30 and up
## Install homebrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
## Add homebrew to $PATH and ~/.bash_profile
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
## Logout/login for changes to ~/.profile to take effect
## Run "brew doctor" and addressing any issues it highlights (in my case, a few missing directories)
- Running in VMWare Fusion, we must set QoS flags for SSH to work right: https://superuser.com/questions/1371506/from-vmware-and-fedora-29-ssh-to-remote-machine-cause-broken-pipe