The new Docker Hub is available in beta try it here
OFFICIAL REPOUpdated 1 week, 3 days ago


Official Fedora 21 base image and semi-official Fedora 20 and rawhide images.

Supported tags and respective Dockerfile links

For more information about this image and its history, please see the relevant manifest file (library/fedora) in the docker-library/official-images GitHub repo.


This image serves as the official Fedora image for Fedora 22, Fedora 21 and as a semi-official image for Fedora 20 (heisenbug) and rawhide.


The fedora:latest tag will always point to the latest stable release, currently Fedora 22. fedora:latest is now the same as fedora:22.

Fedora rawhide is available via fedora:rawhide and Fedora 20 via fedora:20 and fedora:heisenbug. Fedora 20 has now reached EOL and will receive no updates after the fix for CVE-2015-4000 (Logjam).

The metalink is used to automatically select a mirror site (both for building the image as well as for the yum repos in the container image).

$ docker run fedora cat /etc/yum.repos.d/fedora.repo | grep metalink

Supported Docker versions

This image is officially supported on Docker version 1.7.1.

Support for older versions (down to 1.0) is provided on a best-effort basis.

User Feedback


Documentation for this image is stored in the fedora/ directory of the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's file before attempting a pull request.


If you have any problems with or questions about this image, please contact us by filing a bug on Fedora's bugzilla page (choose docker-io as component and include details about image problems in the description) or through a GitHub issue.

You can also reach many of the official image maintainers via the #docker-library IRC channel on Freenode.


You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans by filing a bug on Fedora's bugzilla page (choose docker-io as component and include details about image problems in the description) or through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.


2 months, 3 weeks ago
profile picturemsxx

Where is located this 'best practices' page?

3 months, 1 week ago
profile picturemustafam

These images are out of date, and running “yum upgrade” is discouraged in the best practices page, they should be updated.

5 months, 2 weeks ago
profile picturelinforpros

Hi, thank you for the image. I don't know how to start it. If I do: docker run –name fedora -t -i fedora /bin/bash bash-4.3# systemctl status Failed to get D-Bus connection: Unknown error -1

Am I starting it the right way? Linforpros

6 months, 3 weeks ago
profile picturederekm

The official Fedora 21 Docker image is lacking all locales besides the C/POSIX locale (see, localedef --list-archive). To re-add locales you will need to do a yum reinstall glibc-common.

10 months, 2 weeks ago
profile picturelsm5

@rothgar updates to this image would soon be coming in via fedora rel-eng and iinm, 19 would be EOL by the release of fedora 21 (18 is EOL already). I'm not speaking for rel-eng but I'm quite certain they won't bother with EOL versions. Any reason you're looking for 18 and 19 images that 20 can't address?

11 months, 4 weeks ago
profile picturerothgar

I'll echo @salttest and ask for older releases (18 and 19 would be great)

1 year, 1 month ago
profile picturelsm5

@evanroode, isn't that expected?

1 year, 1 month ago
profile pictureevanroode

docker run -t -i fedora:heisenbug cat /etc/redhat-release

Fedora release 20 (Heisenbug)

docker run -t -i fedora:rawhide cat /etc/redhat-release

Fedora release 21 (Rawhide)

1 year, 2 months ago
profile picturecrackcomm

bash-4.2# yum install -y git Error: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again Could anyone help me with this ?

1 year, 2 months ago
profile pictureadelton

The fedora:20 and fedora:rawhide seem to point to the same Fedora 20 image. Can fedora:rawhide be fixed? Also filed as

1 year, 5 months ago
profile picturelsm5

Hey all docker-io rpm and fedora image users … feel free to report issues to redhat's bugzilla section for fedora (choose docker-io as component)

1 year, 5 months ago
profile picturelsm5

@zenoss could you disable selinux and check if this still occurs? Perhaps better to report this on (choose docker-io as component) (kinda hard to keep track of stuff here :) ) . Thanks!

1 year, 5 months ago
profile picturezenoss

using docker 0.8.1 I get an error running this image, any ideas?

docker run -i -t fedora:20 su - lxc-start: Permission denied - failed to mount '/dev/pts/18' on '/usr/lib/x86_64-linux-gnu/lxc//dev/console' lxc-start: failed to setup the mount entries for '5c93954fe8a775052543adb74c82037b001748a1a5ef961b8c103339e8819298' lxc-start: failed to setup the container lxc-start: invalid sequence number 1. expected 2 lxc-start: failed to spawn '5c93954fe8a775052543adb74c82037b001748a1a5ef961b8c103339e8819298' [error] client.go:2296 Error resize: Error: resize: bad file descriptor

1 year, 5 months ago
profile picturelsm5

@salttest 20 pretty much has everything 19 had and more.

if you need 19 explicitly let me know and I'll see what I can do :)

also, this image is semi-official, there will be a fedora rel-eng approved image coming out sometime soon (but I doubt it will have 19)

1 year, 5 months ago
profile picturesalttest

Including 19 is not an option?

1 year, 6 months ago
profile picturelsm5

FYI, this just in: This image is to be considered semi-official from fedora's side (until approved by fedora rel-eng), will try to get that done quick.

1 year, 6 months ago
profile picturelsm5

This image contains the tags: 20, heisenbug (20), latest (same as 20) and rawhide