Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siamkreative/7b649ac608ed73288d3285eef9253804 to your computer and use it in GitHub Desktop.
Save siamkreative/7b649ac608ed73288d3285eef9253804 to your computer and use it in GitHub Desktop.
Building Cordova apps on Fedora 31

Installing and configuring Docker

Install Docker

sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf makecache
sudo dnf install docker-ce

Install Docker-Compose

sudo dnf install docker-compose

Check installation

Let's check that both Docker & docker-compose have been successfully installed:

docker --version
Docker version 19.03.5, build 633a0ea838
docker-compose --version
docker-compose version 1.24.0, build 0aa59064

Start Docker

Let’s enable and start the docker service.

sudo systemctl enable docker.service
sudo systemctl start docker.service

Troubleshooting (Fedora 31)

If you upgraded to Fedora 31 from 30, and all your Docker containers stopped working (throwing the error ERROR: Service 'XXX' failed to build: OCI runtime create failed), please follow the 3 steps described here: https://www.reddit.com/r/linuxquestions/comments/dn2psl/upgraded_to_fedora_31_docker_will_not_work/f5sml7f/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment