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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s