How to prepare VM linux guest for using docker technology

Lets assume that we have installed like linux guest in VirtualBox Fedora distribution with Fedora Server 29.

  • Disable firewall
# sudo systemctl disable firewalld.service
# sudo systemctl stop firewalld.service
# sudo systemctl status firewalld.service
  • Install SSH server
# sudo dnf install -y openssh-server 
# sudo systemctl start sshd.service
# sudo systemctl enable sshd.service
  • Install Docker CE
# sudo dnf -y install dnf-plugins-core
# sudo dnf config-manager \
    --add-repo \
# sudo dnf install docker-ce
# sudo systemctl start docker
# sudo systemctl enable docker
  • Install Docker Compose
# sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# sudo chmod +x /usr/local/bin/docker-compose

check last version with this link and change version /v1.25.2/ accordingly.

Leave a Reply

Close Menu