Official Repository

Last pushed: 6 days ago
Short Description 
Official Docker builds of Fedora
Full Description 
Supported tags and respective Dockerfile links

For more information about this image and its history, please see the relevant manifest file (library/fedora). This image is updated via pull requests to the docker-library/official-images GitHub repo.

For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the fedora/ file in the docker-library/docs 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.9.1.

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

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

User Feedback Documentation

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.

Docker Pull Command

Comments (22)
2 years ago

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

2 years ago

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.

2 years ago

Including 19 is not an option?

2 years ago

@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)

2 years ago

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

2 years ago

@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!

2 years ago

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)

2 years ago

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

2 years ago

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 ?

a year ago

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)