NextCloud官方文档

Jonathan A. Sternberg 43d8711841 Adding docker documentation for the TICK stack 9 lat temu
.template-helpers ba5ce59734 Parse build args in .template-helpers/generate-tag-details.pl for cleaner/clearer display 9 lat temu
aerospike 86d9203221 Run update.sh 9 lat temu
alpine 86d9203221 Run update.sh 9 lat temu
arangodb 86d9203221 Run update.sh 9 lat temu
backdrop 86d9203221 Run update.sh 9 lat temu
bonita d802d1dc48 Run update-tag-details.sh 9 lat temu
buildpack-deps 09ecabcb2d Run update-tag-details.sh 9 lat temu
busybox 86d9203221 Run update.sh 9 lat temu
cassandra d802d1dc48 Run update-tag-details.sh 9 lat temu
celery 5bcedf2270 Run update-tag-details.sh 9 lat temu
centos 86d9203221 Run update.sh 9 lat temu
chronograf 43d8711841 Adding docker documentation for the TICK stack 9 lat temu
cirros 86d9203221 Run update.sh 9 lat temu
clojure 86d9203221 Run update.sh 9 lat temu
consul 86d9203221 Run update.sh 9 lat temu
couchbase 86d9203221 Run update.sh 9 lat temu
couchdb 86d9203221 Run update.sh 9 lat temu
crate 86d9203221 Run update.sh 9 lat temu
crux 86d9203221 Run update.sh 9 lat temu
debian 872bace269 Run update-tag-details.sh 9 lat temu
django 5bcedf2270 Run update-tag-details.sh 9 lat temu
docker 8a1ccdd51f Run update-tag-details.sh 9 lat temu
docker-dev 86d9203221 Run update.sh 9 lat temu
drupal 86d9203221 Run update.sh 9 lat temu
elasticsearch 86d9203221 Run update.sh 9 lat temu
elixir 86d9203221 Run update.sh 9 lat temu
erlang 8a1ccdd51f Run update-tag-details.sh 9 lat temu
fedora 86d9203221 Run update.sh 9 lat temu
gazebo 0bc4b3d98b Run update-tag-details.sh 9 lat temu
gcc 260ef37bdc Run update-tag-details.sh 9 lat temu
ghost 86d9203221 Run update.sh 9 lat temu
glassfish 5bcedf2270 Run update-tag-details.sh 9 lat temu
golang 86d9203221 Run update.sh 9 lat temu
haproxy 86d9203221 Run update.sh 9 lat temu
haskell 86d9203221 Run update.sh 9 lat temu
hello-world da5bbd4768 Run update.sh 9 lat temu
hipache 86d9203221 Run update.sh 9 lat temu
httpd 86d9203221 Run update.sh 9 lat temu
hylang 5bcedf2270 Run update-tag-details.sh 9 lat temu
influxdb 43d8711841 Adding docker documentation for the TICK stack 9 lat temu
iojs 86d9203221 Run update.sh 9 lat temu
irssi 86d9203221 Run update.sh 9 lat temu
java 42a4fc6f31 Run update-tag-details.sh 9 lat temu
jenkins 86d9203221 Run update.sh 9 lat temu
jetty 5bcedf2270 Run update-tag-details.sh 9 lat temu
joomla 86d9203221 Run update.sh 9 lat temu
jruby 86d9203221 Run update.sh 9 lat temu
julia 86d9203221 Run update.sh 9 lat temu
kaazing-gateway 86d9203221 Run update.sh 9 lat temu
kapacitor 43d8711841 Adding docker documentation for the TICK stack 9 lat temu
kibana 86d9203221 Run update.sh 9 lat temu
lightstreamer 86d9203221 Run update.sh 9 lat temu
logstash 86d9203221 Run update.sh 9 lat temu
mageia 86d9203221 Run update.sh 9 lat temu
mariadb 42a4fc6f31 Run update-tag-details.sh 9 lat temu
maven 5bcedf2270 Run update-tag-details.sh 9 lat temu
memcached 86d9203221 Run update.sh 9 lat temu
mongo 42a4fc6f31 Run update-tag-details.sh 9 lat temu
mongo-express 86d9203221 Run update.sh 9 lat temu
mono 86d9203221 Run update.sh 9 lat temu
mysql 86d9203221 Run update.sh 9 lat temu
nats 86d9203221 Run update.sh 9 lat temu
neo4j 86d9203221 Run update.sh 9 lat temu
neurodebian 86d9203221 Run update.sh 9 lat temu
nginx 86d9203221 Run update.sh 9 lat temu
node 1464c8503a Run update.sh 9 lat temu
notary 86d9203221 Run update.sh 9 lat temu
nuxeo 86d9203221 Run update.sh 9 lat temu
odoo c5153aa611 Run update-tag-details.sh 9 lat temu
opensuse 86d9203221 Run update.sh 9 lat temu
oraclelinux 6e72cfc664 Run update-tag-details.sh 9 lat temu
orientdb 86d9203221 Run update.sh 9 lat temu
owncloud 86d9203221 Run update.sh 9 lat temu
percona 86d9203221 Run update.sh 9 lat temu
perl 42a4fc6f31 Run update-tag-details.sh 9 lat temu
photon 2753493d08 Run update-tag-details.sh 9 lat temu
php 0751b0636e Run update-tag-details.sh 9 lat temu
php-zendserver baf6f21704 Run update.sh 9 lat temu
piwik 86d9203221 Run update.sh 9 lat temu
postgres 86d9203221 Run update.sh 9 lat temu
pypy 42a4fc6f31 Run update-tag-details.sh 9 lat temu
python c39ff875c7 Run update.sh 9 lat temu
r-base 86d9203221 Run update.sh 9 lat temu
rabbitmq 86d9203221 Run update.sh 9 lat temu
rails 5bcedf2270 Run update-tag-details.sh 9 lat temu
rakudo-star 86d9203221 Run update.sh 9 lat temu
redis 8a16d60868 Run update.sh 9 lat temu
redmine 81c32fdb06 Run update-tag-details.sh 9 lat temu
registry 86d9203221 Run update.sh 9 lat temu
rethinkdb 86d9203221 Run update.sh 9 lat temu
rocket.chat 86d9203221 Run update.sh 9 lat temu
ros f6b5eec67f Run update-tag-details.sh 9 lat temu
ruby 42a4fc6f31 Run update-tag-details.sh 9 lat temu
scratch 6724aad42c Update "scratch" and "hello-world" to be more complimentary 10 lat temu
sentry c5153aa611 Run update-tag-details.sh 9 lat temu
solr 86d9203221 Run update.sh 9 lat temu
sonarqube 86d9203221 Run update.sh 9 lat temu
sourcemage 86d9203221 Run update.sh 9 lat temu
swarm 86d9203221 Run update.sh 9 lat temu
telegraf 43d8711841 Adding docker documentation for the TICK stack 9 lat temu
thrift 86d9203221 Run update.sh 9 lat temu
tomcat 86d9203221 Run update.sh 9 lat temu
tomee 5bcedf2270 Run update-tag-details.sh 9 lat temu
traefik 86d9203221 Run update.sh 9 lat temu
ubuntu 09ecabcb2d Run update-tag-details.sh 9 lat temu
ubuntu-debootstrap 86d9203221 Run update.sh 9 lat temu
ubuntu-upstart 86d9203221 Run update.sh 9 lat temu
websphere-liberty 86d9203221 Run update.sh 9 lat temu
wordpress 2753493d08 Run update-tag-details.sh 9 lat temu
.dockerignore 3eea3576df Add simple .dockerignore 10 lat temu
.travis.yml 73966fd877 Revert "Update .travis.yml to account for Travis changes (especially now that Docker is no longer experimental :tada:)" 10 lat temu
Dockerfile 2633e18b55 Reorganize "push.pl" to put the "vimdiff" logic in one place for cool dispatch-conf-alike behavior 10 lat temu
LICENSE b79a588080 2015 11 lat temu
README.md f8c365ccb7 Merge pull request #471 from psftw/tweak-readme 9 lat temu
generate-repo-stub-readme.sh 1a6697b54c Fix typo in README.md 9 lat temu
markdownfmt.sh 1fec85b084 Drop "-t" in markdownfmt.sh so we can redirect output 11 lat temu
push.pl 3bca1909de Handle completely uninitialized repo descriptions better by explicitly converting undef to "" (avoids warnings about "Use of uninitialized value $currentText") 10 lat temu
push.sh 026292f5a9 Support non-tty mode in push.sh 10 lat temu
update-tag-details.sh 526a3a613f Remove bind mount in update-tag-details.sh 10 lat temu
update.sh 43d8711841 Adding docker documentation for the TICK stack 9 lat temu

README.md

What is this?

This repository contains the docs for each of the Docker official images. See docker-library/official-images for the configuration how the images are built. To see all of the official images go to the hub.

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 Travis-CI.

Build Status

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)
  • add a logo.png (recommended)
  • edit update.sh as needed (see below)
  • run ./markdownfmt.sh -l myimage to verify that the format of your markdown files is compliant with tianon/markdownfmt. In case you see any file names, markdownfmt detected some issues, which might result in a failed build during continuous integration.
  • optionally run ./update.sh myimage to generate myimage/README.md for review. Note: do not actually commit the README.md file; it is automatically generated/committed before being uploaded to DockerHub.

What are all these files?

update.sh

This is the main script used to generate the README.md files for each image. When a new image is added that is not under the docker-library namespace on GitHub, a new entry must be added to the otherRepos array in this script. Accepted arguments are which image(s) you want to update and no arguments to update all of them.

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>/user-feedback.md

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

<image name>/mailing-list.md

This file is snippet that gets inserted into the user feedback section to provide and extra way to get help, like a mailing list. Here is an example from the Postgres image:

on the [mailing list](http://www.postgresql.org/community/lists/subscribe/) or

Issues and Contributing

If you would like to make a new Official Image, be sure to follow the guidelines and optionally talk to [email protected].

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.