Skip to content
Documentation for Docker Official Images in docker-library
Shell Perl Dockerfile
Branch: master
Clone or download

Latest commit

Latest commit bbbb633 Jun 12, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ci Add initial GitHub Actions CI May 1, 2020
.common-templates Fixed maintainer.md Nov 18, 2018
.github/workflows Add initial GitHub Actions CI May 1, 2020
.template-helpers Stop using the (deprecated) commit-warehouse May 6, 2020
adminer Run update.sh May 11, 2020
adoptopenjdk Run update.sh May 1, 2020
aerospike Run update.sh May 26, 2020
alpine Run update.sh May 29, 2020
alt Run update.sh May 1, 2020
amazoncorretto Run update.sh Jun 5, 2020
amazonlinux Run update.sh May 1, 2020
arangodb Run update.sh Jun 2, 2020
archlinux Run update.sh Jun 8, 2020
backdrop Run update.sh May 1, 2020
bash Run update.sh Jun 9, 2020
bonita Run update.sh Jun 11, 2020
buildpack-deps Run update.sh May 11, 2020
busybox Run update.sh Jun 2, 2020
caddy Run update.sh May 6, 2020
cassandra Run update.sh May 1, 2020
centos Run update.sh May 5, 2020
chronograf Run update.sh May 2, 2020
cirros Run update.sh May 1, 2020
clearlinux Run update.sh Jun 8, 2020
clefos Run update.sh May 11, 2020
clojure Run update.sh Jun 2, 2020
composer Run update.sh Jun 3, 2020
consul Run update.sh Jun 10, 2020
convertigo Run update.sh May 1, 2020
couchbase Run update.sh May 2, 2020
couchdb Run update.sh May 5, 2020
crate Run update.sh Jun 10, 2020
crux Run update.sh May 1, 2020
debian Run update.sh Jun 9, 2020
docker Run update.sh Jun 2, 2020
drupal Run update.sh Jun 9, 2020
eclipse-mosquitto Run update.sh Jun 2, 2020
eggdrop Run update.sh May 1, 2020
elasticsearch Run update.sh Jun 3, 2020
elixir Run update.sh May 1, 2020
erlang Run update.sh May 29, 2020
euleros Run update.sh May 1, 2020
express-gateway Run update.sh May 1, 2020
fedora Run update.sh May 14, 2020
flink Run update.sh May 13, 2020
fluentd Run update.sh May 1, 2020
friendica Run update.sh May 1, 2020
fsharp Run update.sh May 1, 2020
gazebo Run update.sh May 19, 2020
gcc Run update.sh May 13, 2020
geonetwork Run update.sh Jun 9, 2020
ghost Run update.sh Jun 12, 2020
golang Run update.sh Jun 11, 2020
gradle Run update.sh Jun 3, 2020
groovy Run update.sh May 22, 2020
haproxy Run update.sh Jun 11, 2020
haskell Run update.sh May 8, 2020
haxe Run update.sh Jun 2, 2020
hello-world Run update.sh May 1, 2020
httpd Run update.sh Jun 11, 2020
hylang Run update.sh Jun 4, 2020
ibmjava Run update.sh May 6, 2020
influxdb Run update.sh May 1, 2020
irssi Run update.sh May 1, 2020
jetty Run update.sh May 1, 2020
jobber Run update.sh May 27, 2020
joomla Run update.sh May 11, 2020
jruby Run update.sh May 8, 2020
julia Run update.sh May 29, 2020
kaazing-gateway Run update.sh May 1, 2020
kapacitor Run update.sh May 1, 2020
kibana Run update.sh Jun 3, 2020
known Run update.sh May 1, 2020
kong Run update.sh May 5, 2020
lightstreamer Run update.sh Jun 3, 2020
logstash Run update.sh Jun 3, 2020
mageia Run update.sh May 1, 2020
mariadb Run update.sh Jun 12, 2020
matomo Run update.sh Jun 5, 2020
maven Run update.sh May 1, 2020
mediawiki Run update.sh May 1, 2020
memcached Run update.sh Jun 11, 2020
mongo-express Run update.sh May 1, 2020
mongo Run update.sh Jun 11, 2020
mono Run update.sh May 1, 2020
mysql Run update.sh May 29, 2020
nats-streaming Run update.sh May 1, 2020
nats Run update.sh Jun 6, 2020
neo4j Run update.sh Jun 8, 2020
neurodebian Run update.sh May 13, 2020
nextcloud Run update.sh Jun 11, 2020
nginx Run update.sh Jun 3, 2020
node Run update.sh Jun 8, 2020
notary Run update.sh May 1, 2020
nuxeo Run update.sh May 1, 2020
odoo Run update.sh May 1, 2020
open-liberty Run update.sh Jun 5, 2020
openjdk Run update.sh Jun 9, 2020
opensuse Run update.sh May 1, 2020
oraclelinux Run update.sh Jun 10, 2020
orientdb Run update.sh Jun 3, 2020
percona Run update.sh May 29, 2020
perl Run update.sh Jun 5, 2020
photon Run update.sh Jun 10, 2020
php-zendserver Run update.sh May 1, 2020
php Run update.sh Jun 11, 2020
plone Run update.sh Jun 3, 2020
postfixadmin Run update.sh May 1, 2020
postgres Run update.sh Jun 11, 2020
pypy Run update.sh Jun 10, 2020
python Run update.sh Jun 11, 2020
r-base Run update.sh Jun 8, 2020
rabbitmq Run update.sh Jun 12, 2020
rakudo-star Merge pull request #1707 from patrickbkr/patch-1 May 17, 2020
rapidoid Run update.sh May 1, 2020
redis Run update.sh Jun 9, 2020
redmine Run update.sh May 30, 2020
registry Run update.sh May 1, 2020
rethinkdb Run update.sh May 29, 2020
rocket.chat Run update.sh Jun 2, 2020
ros Run update.sh Jun 8, 2020
ruby Run update.sh Jun 11, 2020
rust Run update.sh Jun 4, 2020
sapmachine Run update.sh May 1, 2020
scratch Add a quote blurb from the upstream docs to the scratch description Jul 3, 2017
sentry Run update.sh May 1, 2020
silverpeas Run update.sh May 1, 2020
sl Run update.sh Jun 4, 2020
solr Run update.sh Jun 8, 2020
sonarqube Run update.sh May 8, 2020
sourcemage Run update.sh May 1, 2020
spiped Run update.sh May 1, 2020
storm Run update.sh May 1, 2020
swarm Update Classic Swarm "short description" Jun 11, 2020
swift Run update.sh Jun 5, 2020
swipl Run update.sh Jun 2, 2020
teamspeak Run update.sh May 1, 2020
telegraf Run update.sh Jun 9, 2020
thrift Run update.sh Jun 5, 2020
tomcat Run update.sh Jun 9, 2020
tomee Run update.sh Jun 5, 2020
traefik Run update.sh May 1, 2020
ubuntu Run update.sh May 6, 2020
varnish Run update.sh May 4, 2020
vault Run update.sh May 22, 2020
websphere-liberty Run update.sh May 13, 2020
wordpress Run update.sh Jun 11, 2020
xwiki Run update.sh May 26, 2020
yourls Run update.sh May 2, 2020
znc Run update.sh Jun 8, 2020
zookeeper Run update.sh Jun 2, 2020
.dockerignore Add simple .dockerignore Aug 7, 2015
Dockerfile Update to Mojolicious 8.35 Mar 26, 2020
LICENSE Remove ending year from LICENSE Jul 30, 2018
README.md Add initial GitHub Actions CI May 1, 2020
generate-repo-stub-readme.sh Update "generate-repo-stub-readme.sh" to include "GitHub CI" Apr 28, 2020
markdownfmt.sh Add "ymlfmt" for enforcing consistent YAML whitespace Nov 28, 2017
parallel-update.sh Add "parallel update" script to generate multiple markdown files simu… Jan 24, 2020
push.pl Update to Mojolicious 8.35 Mar 26, 2020
push.sh Add logo pushing ability for library/ images! Jan 9, 2020
update.sh Add an additional clarifying note to the top of the per-architecture … May 19, 2020
ymlfmt.sh Add "ymlfmt" for enforcing consistent YAML whitespace Nov 28, 2017

README.md

What is this?

This repository contains the image documentation for each of the official images. See docker-library/official-images for more information about the program in general.

All Markdown files here are run through tianon's fork of markdownfmt (only forked to add some smaller-diff preference and minor DockerHub-compatibility changes), and verified as formatted correctly via GitHub Actions.

  • GitHub CI status badge
  • library update.sh status badge
    • amd64 update.sh status badge
    • arm32v5 update.sh status badge
    • arm32v6 update.sh status badge
    • arm32v7 update.sh status badge
    • arm64v8 update.sh status badge
    • i386 update.sh status badge
    • ppc64le update.sh status badge
    • s390x update.sh status badge
    • windows-amd64 update.sh status badge

Table of Contents

  1. What is this?
    1. Table of Contents
  2. How do I add a new image's docs
  3. How do I update an image's docs
  4. What are all these files?
    1. update.sh
    2. generate-repo-stub-readme.sh
    3. push.pl
    4. .template-helpers/generate-dockerfile-links-partial.sh
    5. .template-helpers/template.md and .template-helpers/user-feedback.md
    6. folder <image name>
    7. <image name>/README.md
    8. <image name>/content.md
    9. <image name>/README-short.txt
    10. <image name>/logo.png
    11. <image name>/license.md
    12. <image name>/maintainer.md
    13. <image name>/github-repo
    14. <image name>/user-feedback.md
  5. Issues and Contributing

How do I add a new image's docs

  • create a folder for my image: mkdir myimage
  • create a README-short.txt (required, 100 char max)
  • create a content.md (required)
  • create a license.md (required)
  • create a maintainer.md (required)
  • create a github-repo (required)
  • add a logo.png (recommended)

Optionally:

  • run ./markdownfmt.sh -l myimage to verify whether format of your markdown files is compliant to tianon/markdownfmt. In case you see any file names, markdownfmt detected some issues, which might result in a failed build during continuous integration. run ./markdownfmt.sh -d myimage to see a diff of changes required to pass.
  • run ./update.sh myimage to generate myimage/README.md for manual review of the generated copy.
    Note: do not actually commit the README.md file; it is automatically generated/committed before being uploaded to Docker Hub.

How do I update an image's docs

To update README.md for a specific image do not edit README.md directly. Please edit content.md or another appropriate file within the folder. To see the changes, run ./update.sh myimage from the repo root, but do not add the README.md changes to your pull request. See also markdownfmt.sh point above.

What are all these files?

update.sh

This is the main script used to generate the README.md files for each image. The generated file is committed along with the files used to generate it (see below on what customizations are available). Accepted arguments are which image(s) you want to update or no arguments to update all of them.

This script assumes bashbrew is in your PATH (for scraping relevant tag information from the library manifest file for each repository).

generate-repo-stub-readme.sh

This is used to generate a simple README.md to put in the image's repo. Argument is the name of the image, like golang and it then outputs the readme to standard out.

push.pl

This is used by us to push the actual content of the READMEs to the Docker Hub as special access is required to modify the Hub description contents.

.template-helpers/generate-dockerfile-links-partial.sh

This script is used by update.sh to create the "Supported tags and respective Dockerfile links" section of each generated README.md from the information in the official-images library/ manifests.

.template-helpers/template.md and .template-helpers/user-feedback.md

These files are the templates used in building the <image name>/README.md file, in combination with the individual image's files.

folder <image name>

This is where all the partial and generated files for a given image reside, (ex: golang/).

<image name>/README.md

This file is generated using update.sh.

<image name>/content.md

This file contains the main content of your image's long description. The basic parts you should have are a "What Is" section and a "How To" section. See the doc on Official Repos for more information on long description. The issues and contribution section is generated by the script but can be overridden. The following is a basic layout:

# What is XYZ?

// about what the contained software is

%%LOGO%%

# How to use this image

// descriptions and examples of common use cases for the image
// make use of subsections as necessary

<image name>/README-short.txt

This is the short description for the docker hub, limited to 100 characters in a single line.

Go (golang) is a general purpose, higher-level, imperative programming language.

<image name>/logo.png

Logo for the contained software. While there are not hard rules on formatting, most existing logos are square or landscape and stay within a few hundred pixels of width.

<image name>/license.md

This file should contain a link to the license for the main software in the image. Here is an example for golang:

View [license information](http://golang.org/LICENSE) for the software contained in this image.

<image name>/maintainer.md

This file should contain a link to the maintainers of the Dockerfile.

<image name>/github-repo

This file should contain the URL to the GitHub repository for the Dockerfiles that become the images. The file should be in a single line ending in a newline with no extraneous whitespace. Only one GitHub repo per image repository is supported. It is used in generating links. Here is an example for golang:

https://github.com/docker-library/golang

<image name>/user-feedback.md

This file is an optional override of the default user-feedback.md for those repositories with different issue and contributing policies.

Issues and Contributing

If you would like to make a new Official Image, be sure to follow the guidelines.

Feel free to make a pull request for fixes and improvements to current documentation. For questions or problems on this repo come talk to us via the #docker-library IRC channel on Freenode or open up an issue.

You can’t perform that action at this time.