How to create a docker container with Fedora?

Pre-requirements

  • Docker installed. See here how to install.

Instructions

  • The official Fedora images are here
  • Run $ docker pull fedora to get the latest version
  • Run  $ docker image ls to list all images
  • Run $ sudo docker run -i -t fedora /bin/bash do execute the container locally.

Now you have a container with the latest version of Fedora running in your machine.

 

Leave a comment