Convert TOML to YAML, tweaks to work with Jekyll

This commit is contained in:
Misty Stanley-Jones 2016-09-29 12:21:06 -07:00
parent 9f31bb790d
commit d53c6798c9
1947 changed files with 172251 additions and 75676 deletions

70
.gitignore vendored
View File

@ -1,62 +1,8 @@
OSS-LICENSES
.DS_Store
shell/shell
shell/shell-history
shell/out.txt
shell/shell-config.json
shell/shell-env.json
shell9pAPI/shell9pAPI
shell9pAPI/sftp/sftp
shell/sftpKeys
shellAgent/shellAgent
shellAgent/hostKey.pem
shell/key.pem
shell/key.pub
agentSDK/node/node_modules/*
!agentSDK/node/node_modules/dockersdk
agentSDK/lib/agentlib.dylib
agentSDK/node/key.pem
agentSDK/node/keyC.pem
agentSDK/node/keyNode.pem
_tests
all-packages.txt
# ignore compiled binaries
v1/agent/agent
v1/agent/com.docker.agent.exe
v1/cmd/proxy/proxy.exe
# ignore generated SSH keys
v1/clitool/key.pem
v1/agent/hostKey.pem
# ignore files generated by cli testing
v1/agent/application_storage
v1/bin
v1/cmd/agent/agent
v1/db/irmin/_build
v1/db/irmin9p/irmin9p
v1/vendor/github.com/mortdeus/go9p/srv/examples/ufs/ufs
# ignore compiled boot2docker, since we will rebuild it
v1/boot2docker/boot2docker-data.img.tar
v1/boot2docker/vmlinuz64
v1/boot2docker/initrd.img
v1/devtool_sdk/libsrpc/libsrpc
v1/devtool_sdk/libsrpc/libsrpc.dylib
v1/devtool_sdk/libsrpc/libsrpc.h
# ignore temporary files from editors
*.swp
*~
*.sdf
*.VC.opendb
_cache
# PLEASE DON'T PUT SUBPROJECT IGNORE PATTERNS HERE.
# PUT THEM IN THE SUBPROJECT'S .gitignore FILE.
# THIS MAKES MAINTENANCE EASIER. THANK YOU.
v1/mac/dependencies
v1/mac/bin/Windows/Dependencies/HyperVInstaller.ps1
**/.DS_Store
**/desktop.ini
.bundle/**
.jekyll-metadata
_site/**
.sass-cache/**
CNAME
Gemfile.lock

1130
CHANGELOG

File diff suppressed because it is too large Load Diff

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM docs/base:oss
MAINTAINER Docker Docs <docs@docker.com>
# because both the 2 dir's are going into the root
env PROJECT=
# To get the git info for this repo
COPY . /src
#RUN rm -rf /docs/content/$PROJECT/
COPY . /docs/content/$PROJECT/

2
Gemfile Normal file
View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins

View File

@ -1,7 +1,6 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
@ -179,7 +178,7 @@
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
@ -187,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Copyright 2016 The Kubernetes Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -1,21 +0,0 @@
Jeffrey Morgan <jmorgan@docker.com>
Sean Li <sean@docker.com>
Michael Chiang <michael.chiang@docker.com>
Adrien Duermael <adrien@docker.com>
Gaetan Devillelle <gaetan@docker.com>
Solomon Hykes <solomon@docker.com>
Dave Scott <dave.scott@docker.com>
Michel Courtine <michel.courtine@docker.com>
Thomas Gazagnaire <thomas.gazagnaire@docker.com>
Emmanuel Briney <emmanuel.briney@docker.com>
Justin Cormack <justin.cormack@docker.com>
David Sheets <david.sheets@docker.com>
Stephen Day <stephen.day@docker.com>
Magnus Skjegstad <magnus.skjegstad@docker.com>
Patrick Chanezon <patrick.chanezon@docker.com>
Thomas Leonard <thomas.leonard@docker.com>
David Gageot <david.gageot@docker.com>
Rolf Neugebauer <rolf.neugebauer@docker.com>
Richard Mortier <richard.mortier@docker.com>
Jean-Laurent de Morlhon <jeanlaurent@docker.com>
Ben Bonnefoy <frenchben@docker.com>

267
Makefile
View File

@ -1,254 +1,39 @@
MACOSX_DEPLOYMENT_TARGET?=10.10
REPO_ROOT=$(shell git rev-parse --show-toplevel)
OUTPUT?=$(REPO_ROOT)/v1/mac/build/Docker.app
PROJECT_ROOT?=$(GOPATH)/src/github.com/docker/pinata
CACHE_DIR?=$(REPO_ROOT)/_cache
.PHONY: all default docs docs-build docs-shell shell test
# Getting version from Info.plist file
# NOTE(aduermael): this won't work on Windows
# It will be updated soon to support both platform
# with tags of the form: "win-.*" and "mac-.*"
plistPath=$(PROJECT_ROOT)/v1/mac/src/docker-app/docker/docker/Info.plist
versionFromPlist=$(shell /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$(plistPath)" 2> /dev/null)
PARTS=$(subst -, ,$(versionFromPlist))
VERSION=v$(word 1, $(PARTS))-$(word 2, $(PARTS))
# to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
# hockeyapp read-only tokens
HA_MAC_TOKEN=bf3c4239192a4511ab54ff5e963d51b1
HA_WIN_TOKEN=64336e7527dc477da596bedfa2804540
# to allow `make DOCSPORT=9000 docs`
DOCSPORT := 8000
# opam flags
OPAMROOT=$(CACHE_DIR)/opam
OPAMDIR=$(REPO_ROOT)/v1/opam
OPAMFLAGS=MACOSX_DEPLOYMENT_TARGET=$(MACOSX_DEPLOYMENT_TARGET) OPAMROOT=$(OPAMROOT) OPAMYES=1 OPAMCOLORS=1 OPAMDIR=$(OPAMDIR) GO15VENDOREXPERIMENT=1
OPAMLIBS=mirage-block-c docker-diagnose osx-daemon osx-hyperkit
OPAMCMDS=osxfs
OPAMSUPPORT=nurse
# Get the IP ADDRESS
DOCKER_IP=$(shell python -c "import urlparse ; print urlparse.urlparse('$(DOCKER_HOST)').hostname or ''")
HUGO_BASE_URL=$(shell test -z "$(DOCKER_IP)" && echo localhost || echo "$(DOCKER_IP)")
HUGO_BIND_IP=0.0.0.0
# TODO: this needs a cleaner solution
BACKENDCMDS=driver.amd64-linux vmnetd osx.hyperkit.linux hyperkit frontend shell #driver.amd64-qemu
LICENSEDIRS=\
$(PROJECT_ROOT)/v1/opam \
$(PROJECT_ROOT)/v1/vendor \
$(PROJECT_ROOT)/v1/uefi \
$(OPAMROOT) \
$(PROJECT_ROOT)/v1/cmd/com.docker.hyperkit \
$(PROJECT_ROOT)/v1/docker_proxy/vendor \
$(PROJECT_ROOT)/v1/mac/src/docker-app/docker/Carthage/Checkouts \
$(PROJECT_ROOT)/v1/mac/dependencies/qemu
.PHONY: all depends opam perf OSS-LICENSES dmg dsym-zip clean cacheclean versions go-fmt go-lint go-vet go-test go-depends
all: opam mac
@
depends: mac-depends qemu-depends opam-depends go-depends moby-depends
@
clean: opam-clean backend-clean moby-clean
$(MAKE) -C $(PROJECT_ROOT)/v1/mac clean
cacheclean:
rm -rf "$(HOME)/.docker-ci-cache/opam"
rm -rf "$(OPAMROOT)"
OSS-LICENSES:
$(OPAMFLAGS) v1/opam/opam-licenses $(OPAMCMDS)
$(MAKE) -C $(PROJECT_ROOT)/v1/cmd/com.docker.hyperkit LICENSE
$(foreach dir, $(LICENSEDIRS), mkdir -p $(dir);)
$(PROJECT_ROOT)/v1/mac/scripts/list-licenses $(LICENSEDIRS) > OSS-LICENSES
# opam applications
UPSTREAM=$(shell ls $(OPAMDIR)/repo/packages/upstream | awk -F. '{ print $$1 }')
DEV=$(shell ls $(OPAMDIR)/repo/packages/dev)
opam-depends:
@brew install opam || true &> /dev/null
@brew install dylibbundler || true &> /dev/null
@$(OPAMFLAGS) $(OPAMDIR)/opam-boot
@$(OPAMFLAGS) opam update -u
@$(OPAMFLAGS) opam install depext
@$(OPAMFLAGS) opam depext $(UPSTREAM) $(DEV) &> /dev/null
@$(OPAMFLAGS) opam install $(UPSTREAM) $(DEV)
opam-lib-clean-%s:
$(OPAMFLAGS) $(MAKE) -C $(PROJECT_ROOT)/v1/$* clean
opam-cmd-clean-%s:
$(OPAMFLAGS) $(MAKE) -C $(PROJECT_ROOT)/v1/cmd/com.docker.$* clean
opam-support-clean-%:
$(OPAMFLAGS) $(MAKE) -C $(PROJECT_ROOT)/support/$* clean
opam-clean: $(OPAMLIBS:%=opam-lib-clean-%s) $(OPAMCMDS:%=opam-cmd-clean-%s) $(OPAMSUPPORT:%=opam-support-clean-%)
@
opam-lib-%:
cd $(PROJECT_ROOT)/v1/$* && $(OPAMFLAGS) ./build.sh
opam-cmd-%:
cd $(PROJECT_ROOT)/v1/cmd/com.docker.$* && $(OPAMFLAGS) ./build.sh
opam-support-%:
cd $(PROJECT_ROOT)/support/$* && $(OPAMFLAGS) ./build.sh
opam: $(OPAMLIBS:%=opam-lib-%) $(OPAMCMDS:%=opam-cmd-%) $(OPAMSUPPORT:%=opam-support-%) OSS-LICENSES
@
# backend
backend-cmd-clean-%:
cd $(PROJECT_ROOT)/v1/cmd/com.docker.$* && $(OPAMFLAGS) $(MAKE) clean
backend-lib-clean-%:
cd $(PROJECT_ROOT)/v1/$* && $(OPAMFLAGS) $(MAKE) clean
backend-clean: $(BACKENDCMDS:%=backend-cmd-clean-%)
@
backend-cmd-%:
cd $(PROJECT_ROOT)/v1/cmd/com.docker.$* && $(OPAMFLAGS) $(MAKE) CACHE_DIR=$(CACHE_DIR)
backend-cmd-vmnetd: opam
backend-cmd-hyperkit: backend-cmd-vmnetd
backend: $(BACKENDCMDS:%=backend-cmd-%)
@
# moby
moby-depends:
go get -u github.com/justincormack/regextract
moby:
cd $(PROJECT_ROOT)/v1/moby && make
moby-clean:
cd $(PROJECT_ROOT)/v1/moby && make clean
# mac app
mac-depends:
cd $(PROJECT_ROOT)/v1/mac/scripts && ./make.bash -dy
mac: opam backend moby docker-release
cd $(PROJECT_ROOT)/v1/mac/scripts && ./make.bash -cby
dmg:
cd $(PROJECT_ROOT)/v1/mac/scripts && ./make-dmg
dsym-zip:
cd $(PROJECT_ROOT)/v1/mac/scripts && ./make-dsym-zip
# run Docker.app
dev: opam mac
rm -rf "$(PROJECT_ROOT)/v1/mac/build"
rm -rf "$(PROJECT_ROOT)/v1/mac/src/docker-app/build"
cd $(PROJECT_ROOT)/v1/mac/src/docker-app && make dev
# open Docker.app .xcodeproj
run:
$(PROJECT_ROOT)/v1/mac/build/Docker.app/Contents/MacOS/Docker
backend-run:
@$(PROJECT_ROOT)/v1/cmd/com.docker.shell/com.docker.shell -debug -bundle $(PROJECT_ROOT)/v1/mac/build/Docker.app
# tests
lint: go-fmt go-lint go-vet
# lint test scripts
brew install shellcheck
find tests/cases -type f | xargs -L1 file -I | grep 'text/x-shellscript' | cut -f1 -d":" | xargs -L1 shellcheck -e SC2129,SC1090,SC2039
GOPACKAGES = $(eval GOPACKAGES := $(shell cd $(PROJECT_ROOT)/v1 && go list -e ./... | grep -v vendor | grep -v moby))$(GOPACKAGES)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
DOCKER_IMAGE := docker$(if $(GIT_BRANCH),:$(GIT_BRANCH))
DOCKER_DOCS_IMAGE := docs-base$(if $(GIT_BRANCH),:$(GIT_BRANCH))
go-depends:
go get -u github.com/golang/lint/golint
DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT) -e AWS_S3_BUCKET -e NOCACHE
go-fmt:
@for pkg in $(GOPACKAGES) ; do \
echo "gofmt $${pkg##*pinata/} ..." ;\
cd $(PROJECT_ROOT)/$${pkg##*pinata/} ;\
test -z "$$(gofmt -s -l . 2>&1 | grep -v ^vendor/ | tee /dev/stderr)" || exit 1 ;\
done
# for some docs workarounds (see below in "docs-build" target)
GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
go-lint:
@for pkg in $(GOPACKAGES) ; do \
echo "golint $${pkg##*pinata/} ..." ;\
cd $(PROJECT_ROOT)/$${pkg##*pinata/} ;\
test -z "$$(golint . 2>&1 | grep -v ^vendor/ | tee /dev/stderr)" || exit 1 ;\
done
default: docs
go-vet:
@cd $(PROJECT_ROOT) && go vet $(GOPACKAGES)
docs: docs-build
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP)
go-test:
@cd $(PROJECT_ROOT) && for pkg in $(GOPACKAGES) ; do \
echo "testing $$pkg ..." ;\
go test -race -v $$pkg ;\
done
docs-draft: docs-build
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" hugo server --buildDrafts="true" --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP)
test-depends: opam
cd $(PROJECT_ROOT)/v1/tests && $(OPAMFLAGS) ./build.sh
docs-shell: docs-build
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash
test: lint test-depends go-test
(cd $(PROJECT_ROOT)/tests && ./rt-local -l nostart,checkout -v -x run)
test: docs-build
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)"
# test-dmg also tests the dmg - it's assumed that `make dmg` was performed first first
test-dmg: lint test-depends go-test
(cd $(PROJECT_ROOT)/tests && ./rt-local -l installer,checkout -v -x run)
fulltest:
(cd $(PROJECT_ROOT)/tests && ./rt-local -l nostart,release,checkout -v -x run)
PINATA_APP_PATH=$(OUTPUT) $(PROJECT_ROOT)/v1/tests/pinata-rt test -e
perf:
make -C $(PROJECT_ROOT)/v1/perf
# qemu
QEMUV = 2.4.1
export QEMUV
qemu-depends:
@mkdir -p $(CACHE_DIR)
@cd $(PROJECT_ROOT)/v1/cmd/com.docker.driver.amd64-qemu && make depends CACHE_DIR=$(CACHE_DIR)
# upload to HockeyApp
upload:
@cd $(PROJECT_ROOT)/v1/mac/scripts && ./make.bash -uy
release:
rm -rf "$(PROJECT_ROOT)/v1/mac/build"
rm -rf "$(HOME)/.docker-ci-cache"
rm -rf "$(CACHE_DIR)"
make depends
make
make test
git tag $(VERSION) -a -m "Release $(VERSION)"
git push upstream $(VERSION)
versions:
@echo git tag name: $(VERSION)
@echo Xcode project version \(Info.plist\): $(versionFromPlist)
@echo Changelog: $(shell head -n 1 CHANGELOG | cut -f 3 -d" ")
@echo docker-diagnose: $(shell cat v1/docker-diagnose/src/dockerCli.ml | grep check_version)
release-to-rc:
@echo "Releasing latest builds to RC (the newest unreleased build will also be downloaded)"
docker-release --channel rc --arch mac --build latest publish
docker-release --channel rc --arch win --build latest publish
# docker-release build
docker-release:
cd $(PROJECT_ROOT)/v1/docker-release && make
# helpful targets for development
logwatch:
syslog -w -F '$$Time $$Host $$(Sender)[$$(Facility)][$$(PID)]\n<$$((Level)(str))>: $$Message' \
-k Sender Seq Docker -o \
-k Sender Seq docker -o \
-k Message Seq Docker -o \
-k Message Seq docker
docs-build:
docker build -t "$(DOCKER_DOCS_IMAGE)" .

181
README.md
View File

@ -1,163 +1,54 @@
# Pinata: an experimental standalone Docker client
# This repo is for preview/dev purposes only
| | pr | master | rc | beta | stable |
|---|---|---|---|---|---|
| macOS | [latest](https://download-stage.docker.com/mac/pr/Docker.dmg) | [latest](https://download-stage.docker.com/mac/master/Docker.dmg) | [latest](https://download-stage.docker.com/mac/rc/Docker.dmg) | [latest](https://download.docker.com/mac/beta/Docker.dmg) | [latest](https://download.docker.com/mac/stable/Docker.dmg) |
| Windows | [latest](https://download-stage.docker.com/win/pr/InstallDocker.msi) | [latest](https://download-stage.docker.com/win/master/InstallDocker.msi) | [latest](https://download-stage.docker.com/win/test/InstallDocker.msi) | [latest](https://download.docker.com/win/beta/InstallDocker.msi) | [latest](https://download.docker.com/win/stable/InstallDocker.msi) |
*( if you get Access Denied errors, it means nothing has been published to this channel yet )*
The docs team is in the process of migrating to this repo. During this time we're also
converting from a Hugo-based doc system to a Jekyll-based doc system. That means there
are lots of content errors and so forth at the preview URL. We're on it.
To list all the versions: http://omakase.omakase.e57b9b5b.svc.dockerapp.io/
While this repo is not the source of truth, it's important to us that it be viewable
so contributors can see what we're doing, and so that they can migrate open pull requests
from other repos such as `docker/docker` that make doc changes, into this repo.
This is an experimental project to develop a new client for Docker,
separately from the daemon or any other backend component.
## Timeline of migration
By maintaining a standalone client, the goal is to:
- During the week of Monday, September 26th, any existing docs PRs need to be migrated over or merged.
- Well do one last “pull” from the various docs repos on Wednesday, September 28th, at which time the docs/ folders in the various repos will be emptied.
- Between the 28th and full cutover, the docs team will be testing the new repo and making sure all is well across every page.
- Full cutover (production is drawing from the new repo, new docs work is pointed at the new repo, dissolution of old docs/ folders) is complete on Monday, October 3rd.
1. Allow for more rapid iteration on client functionality.
2. Improve compatibility between different versions of the client and daemon.
3. Add more features to the client without bloating the daemon-side components.
4. Pave the way to simplifying the daemon code base, improving its
quality and making its maintenance easier.
# Docs @ Docker
## Versioning
Welcome to the repo for our documentation. This is the source for the URL
served at docs.docker.com.
The release cycle respects the following convention: `X-Y[-Z]` where:
Feel free to send us pull requests and file issues. Our docs are completely
open source and we deeply appreciate contributions from our community!
- `X` is the version of the docker engine used as a base for the build. The build can be modified during the build process to fit better into the use-case of `Docker.app` (ie. it won't usually be a drop-in replacement, but we will try to upstream our patches as quickly as possible).
## Staging
- `Y` is an arbitrary string that we can use to define a version of `Docker.app`, independently of the release cycle of docker engine.
You have three options:
- `Z` indicates the build channel (dev, test, master, release). `Z` is empty for releases.
1. (Most performant, slowest setup) Clone this repo, [install the GitHub Pages Ruby gem](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/), then run `jekyll serve` from within the directory.
2. (Slower, fast setup) Clone this repo, and from within the directory, run:
`docker run -ti --rm -v "$PWD":/docs -p 4000:4000 docs/docstage`
3. (Edit entirely in the browser, no local clone) Fork this repo in GitHub, change your fork's repository name to `YOUR_GITHUB_USERNAME.github.io`, and make any changes.
For instance the first beta release of pinata has the version: `1.9.1-beta1`. While on master channel (one build for each PR merged), it has the version: `1.9.1-beta1-master`.
In the first two options, the site will be staged at `http://localhost:4000` (unless Jekyll is behaving in some non-default way).
On OS X, the version is defined in XCode project's Info.plist file (key: `CFBundleShortVersionString`). There's also a build number, associated with `CFBundleVersion` key (set by CI).
In the third option, the site will be viewable at `http://YOUR_GITHUB_USERNAME.github.io`, about a minute after your first change is merged into your fork.
In Xcode project, the version should use a suffix like `-dev` (`1.9.1-beta1-dev`). That suffix will be replaced/removed by CI.
## Important files
## INSTALL
- `/_data/toc.yaml` defines the left-hand navigation for the docs
- `/js/menu.js` defines most of the docs-specific JS such as TOC generation and menu syncing
- `/css/documentation.css` defines the docs-specific style rules
- `/_layouts/docs.html` is the HTML template file, which defines the header and footer, and includes all the JS/CSS that serves the docs content
### Through HockeyApp
## Relative linking for GitHub viewing
For Docker for Mac see the [Docker.app installation guide](https://github.com/docker/pinata/blob/master/v1/docs/content/mackit/getting-started.md) and for Docker for Windows see the [Docker installation guide](https://github.com/docker/pinata/blob/master/v1/docs/content/winkit/getting-started.md)
Feel free to link to `../foo.md` so that the docs are readable in GitHub, but keep in mind that Jekyll templating notation
`{% such as this %}` will render in raw text and not be processed. In general it's best to assume the docs are being read
directly on docs.docker.com.
### OSX Build
## Copyright and license
Check that your `GOPATH` is correctly set-up and clone this repository in
`$GOPATH/src/github.com/docker/pinata`.
#### Dependencies
As prerequisites, you need to have `Xcode`, `homebrew` and `go` installed.
To minimize build times, the dependencies are cached with this command
You only need to run it once or when an external dependency was updated
At the root of this repository, type:
```
make depends
```
When you add a new go dependency, add it in the `GO_DEPS` variable of the toplevel
`Makefile`.
#### Build
After a successful `make depends`, type:
```
make
```
If you are asked for the password to the `dockerbuilder` keychain, it is
`docker4all`.
#### Run
After a successful `make depends` and `make`, type:
```
make run
```
You will see the logs on stdout
#### Install
First, make sure you have uninstalled any previous installation of
pinata with:
```
v1/mac/uninstall
```
Then, install with:
```
v1/mac/build/Docker.app/Contents/MacOS/docker-installer
```
#### Tests
You can run the tests by running:
```
make test
```
This is currently Mac only.
### Windows Build
[![Build status](https://ci.appveyor.com/api/projects/status/fpa7neeotor31bdh/branch/master?svg=true)](https://ci.appveyor.com/project/Pinata/pinata/branch/master)
Latest msi builds :
* On [Master](https://download-stage.docker.com/win/master/InstallDocker.msi) channel.
* On [Test](https://download-stage.docker.com/win/test/InstallDocker.msi) channel.
Check that your `GOPATH` is correctly set-up and clone this repository in
`$GOPATH/src/github.com/docker/pinata`.
#### Dependencies
Install:
- Go 1.6
- [Visual Studio 2015](https://www.visualstudio.com/en-us/products/vs-2015-product-editions.aspx). The app builds with the free Community edition but the licensing for that edition doesn't allow its use for commercial, closed source work.
Once you installed the above, open a powershell.
#### Build
The main build is driven by the `please.ps1` powershell script in the `win`
sub-directory.
```
cd <pinata_dir>/win
./please.ps1 package
```
will clean the build directory and build a new package (installer) in
the `build` sub-directory.
```
cd <pinata_dir>/win
./please.ps1 build
```
will build a new `Docker.exe` file but not the installer.
### Troubleshooting
If you have an issue, please report it to the
[bugtracker](https://github.com/docker/pinata/issues) with the output
of:
```
pinata diagnose
```
This is currently Mac only.
Code and documentation copyright 2016 Docker, inc, released under the Apache 2.0 license.

87
_config.yml Normal file
View File

@ -0,0 +1,87 @@
name: Docker
markdown: kramdown
kramdown:
input: GFM
html_to_native: true
hard_wrap: false
syntax_highlighter: rouge
baseurl: /
incremental: true
permalink: pretty
safe: false
lsi: false
gems:
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-gist
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: docs
menu:
- main:
name: "Component Projects"
identifier: "mn_components"
weight: 8
- main:
name: "About"
identifier: "mn_about"
weight: 9
- main:
name: "Docs archive"
identifier: "mn_versions"
weight: 10
- main:
name: "Version 1.11"
identifier: "smn_eleven"
parent: "mn_versions"
url: "http://docs.docker.com/v1.11/"
weight: -11
- main:
name: "Version 1.10"
identifier: "smn_ten"
parent: "mn_versions"
url: "http://docs.docker.com/v1.10/"
weight: -10
- main:
name: "Version 1.9"
identifier: "smn_nineteen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.9/"
weight: -9
- main:
name: "Version 1.8"
identifier: "smn_eightteen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.8/"
weight: -8
- main:
name: "Version 1.7"
identifier: "smn_seventeen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.7/"
weight: -7
- main:
name: "Version 1.6"
identifier: "smn_sixteen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.6/"
weight: -6
- main:
name: "Version 1.5"
identifier: "smn_fifteen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.5/"
weight: -5
- main:
name: "Version 1.4"
identifier: "smn_fourteen"
parent: "mn_versions"
url: "http://docs.docker.com/v1.4/"
weight: -4

24
_data/advisories.yaml Normal file
View File

@ -0,0 +1,24 @@
#TODO: work out how to add a data dir to any repo that has documentation
# atm, repo's have a docs dir that is akin to the hugo content dir.
# Define Advisory texts
# can be used in page frontmatter:
# advisory = "experimental"
texts:
experimental: "The functionality described on this page is marked as Experimental, and as such, may change before it becomes generally available."
rc: "The Swarm mode feature included in Docker Engine 1.12 is a release candidate feature and might be subject to non backward-compatible changes. Some functionality may change before the feature becomes generally available."
docker4mac-beta: "Docker for Mac is currently in public beta. Some functionality may change before the product becomes generally available."
docker4win-beta: "Docker for Windows is currently in public beta. Some functionality may change before the product becomes generally available."
swarm: "See [Swarm mode overview](/engine/swarm/) for the orchestration features introduced in Docker Engine 1.12. Only refer to the Docker Swarm documents below for information on the standalone Swarm product."
engine: "This site contains documentation for the v1.12 release candidate version of Docker Engine. For the Docker Engine v1.11 docs, see [https://docs.docker.com/v1.11/](https://docs.docker.com/v1.11/). Docker for Mac and Docker for Windows are currently in Beta."
# URL based advisories
# any URL that begins with "/engine/" will get the "engine" advisory
# will be over-ridden by the `advisory` frontmatter in the topic
# [paths]
# "/engine/" = "engine"
# "/swarm/" = "swarm"

View File

@ -0,0 +1,32 @@
v1.4:
image: docs/archive:v1.4
ports:
- "4014:4000"
v1.5:
image: docs/archive:v1.5
ports:
- "4015:4000"
v1.6:
image: docs/archive:v1.6
ports:
- "4016:4000"
v1.7:
image: docs/archive:v1.7
ports:
- "4017:4000"
v1.8:
image: docs/archive:v1.8
ports:
- "4018:4000"
v1.9:
image: docs/archive:v1.9
ports:
- "4019:4000"
v1.10:
image: docs/archive:v1.10
ports:
- "4110:4000"
v1.11:
image: docs/archive:v1.11
ports:
- "4111:4000"

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.10
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.11
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.4
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.5
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.6
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.7
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.8
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

View File

@ -0,0 +1,15 @@
FROM starefossen/ruby-node:2-5
RUN gem install github-pages
WORKDIR /data
RUN git clone https://github.com/docker/docker.github.io docs
WORKDIR /data/docs
RUN git checkout v1.9
RUN jekyll build
ENTRYPOINT ["jekyll", "serve", "--host=0.0.0.0"]

1389
_data/toc.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
At its core, Docker provides a way to run almost any application securely
isolated in a container. The isolation and security allow you to run many
containers simultaneously on your host. The lightweight nature of containers,
which run without the extra load of a hypervisor, means you can get more out of
your hardware. Additionally, your application can always be packaged with its
dependencies and environment variables right in the build image, making testing
and deployment simpler than ever.

View File

@ -0,0 +1,20 @@
### Typical Docker Platform Workflow
1. Get your code and its dependencies into Docker [containers](engine/getstarted/step_two.md):
- [Write a Dockerfile](engine/getstarted/step_four.md) that specifies the execution
environment and pulls in your code.
- If your app depends on external applications (such as Redis, or
MySQL), simply [find them on a registry such as Docker Hub](docker-hub/repos.md), and refer to them in
[a Docker Compose file](compose/overview.md), along with a reference to your application, so they'll run
simultaneously.
- Software providers also distribute paid software via the [Docker Store](https://store.docker.com).
- Build, then run your containers on a virtual host via [Docker Machine](machine/overview.md) as you develop.
2. Configure [networking](engine/tutorials/networkingcontainers.md) and
[storage](engine/tutorials/dockervolumes.md) for your solution, if needed.
3. Upload builds to a registry ([ours](engine/tutorials/dockerrepos.md), [yours](docker-trusted-registry/index.md), or your cloud provider's), to collaborate with your team.
4. If you're gonna need to scale your solution across multiple hosts (VMs or physical machines), [plan
for how you'll set up your Swarm cluster](engine/swarm/key-concepts.md) and [scale it to meet demand](engine/swarm/swarm-tutorial/index.md).
- Note: Use [Universal Control Plane](ucp/overview.md) and you can manage your
Swarm cluster using a friendly UI!
5. Finally, deploy to your preferred
cloud provider (or, for redundancy, *multiple* cloud providers) with [Docker Cloud](docker-cloud/overview.md). Or, use [Docker Datacenter](https://www.docker.com/products/docker-datacenter), and deploy to your own on-premise hardware.

2
_includes/rightnav.md Normal file
View File

@ -0,0 +1,2 @@
* TOC
{: toc}

6
_includes/tree.html Normal file
View File

@ -0,0 +1,6 @@
{% for item in tree %}{% if item.heading %}{% else %}{% if item.sectiontitle %}<li class="leaf menu-closed"><a href="/" class="expand-menu "><span class="menu-icon" aria-hidden="true"></span>{{ item.sectiontitle }}</a>
<ul class="nav-sub">
{% assign tree = item.section %}{% include tree.html %}
</ul>
{% else %}
<li class="leaf"><a href="{{ item.path }}" class="{% if item.path == page.url %}active currentPage{% endif %}">{{ item.title }}</a></li>{% endif %}{% endif %}{% endfor %}

378
_layouts/docs.html Normal file
View File

@ -0,0 +1,378 @@
{% if page.path contains "index.md" %}
{% capture basehref %}{{ page.url }}{% endcapture %}
{% else %}
{% assign crumbs = page.url | split: '/' %}
{% assign stoppingpoint = crumbs | size | minus: 1 %}
{% assign output = "" %}
{% for crumb in crumbs %}
{% if forloop.index == stoppingpoint %}
{% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %}
{% break %}
{% else %}
{% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %}
{% endif %}
{% endfor %}
{% endif %}
<!DOCTYPE html>
<!-- {{ page.path }} -->
<html class="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms no-csstransforms3d csstransitions fontface no-generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths retina-display is_not_retina chrome version webkit" lang="en">
<head>
<base href="{{ basehref }}"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@charset "UTF-8";
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak, .ng-hide:not(.ng-hide-animate) {
display: none !important;
}
ng\:form {
display: block;
}
</style>
<script type="text/javascript" async="" src="/js/analytics.js"></script><script async="" src="/js/gtm.js"></script>
<script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function(e,t,n){function r(n){if(!t[n]){var o=t[n]={exports:{}};e[n][0].call(o.exports,function(t){var o=e[n][1][t];return r(o||t)},o,o.exports)}return t[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(e,t,n){function r(e,t){return function(){o(e,[(new Date).getTime()].concat(a(arguments)),null,t)}}var o=e("handle"),i=e(2),a=e(3);"undefined"==typeof window.newrelic&&(newrelic=NREUM);var u=["setPageViewName","setCustomAttribute","finished","addToTrace","inlineHit"],c=["addPageAction"],f="api-";i(u,function(e,t){newrelic[t]=r(f+t,"api")}),i(c,function(e,t){newrelic[t]=r(f+t)}),t.exports=newrelic,newrelic.noticeError=function(e){"string"==typeof e&&(e=new Error(e)),o("err",[e,(new Date).getTime()])}},{}],2:[function(e,t,n){function r(e,t){var n=[],r="",i=0;for(r in e)o.call(e,r)&&(n[i]=t(r,e[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;t.exports=r},{}],3:[function(e,t,n){function r(e,t,n){t||(t=0),"undefined"==typeof n&&(n=e?e.length:0);for(var r=-1,o=n-t||0,i=Array(0>o?0:o);++r<o;)i[r]=e[t+r];return i}t.exports=r},{}],ee:[function(e,t,n){function r(){}function o(e){function t(e){return e&&e instanceof r?e:e?u(e,a,i):i()}function n(n,r,o){e&&e(n,r,o);for(var i=t(o),a=l(n),u=a.length,c=0;u>c;c++)a[c].apply(i,r);var s=f[g[n]];return s&&s.push([m,n,r,i]),i}function p(e,t){w[e]=l(e).concat(t)}function l(e){return w[e]||[]}function d(e){return s[e]=s[e]||o(n)}function v(e,t){c(e,function(e,n){t=t||"feature",g[n]=t,t in f||(f[t]=[])})}var w={},g={},m={on:p,emit:n,get:d,listeners:l,context:t,buffer:v};return m}function i(){return new r}var a="nr@context",u=e("gos"),c=e(2),f={},s={},p=t.exports=o();p.backlog=f},{}],gos:[function(e,t,n){function r(e,t,n){if(o.call(e,t))return e[t];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return e[t]=r,r}var o=Object.prototype.hasOwnProperty;t.exports=r},{}],handle:[function(e,t,n){function r(e,t,n,r){o.buffer([e],r),o.emit(e,t,n)}var o=e("ee").get("handle");t.exports=r,r.ee=o},{}],id:[function(e,t,n){function r(e){var t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===window?0:a(e,i,function(){return o++})}var o=1,i="nr@id",a=e("gos");t.exports=r},{}],loader:[function(e,t,n){function r(){if(!w++){var e=v.info=NREUM.info,t=s.getElementsByTagName("script")[0];if(e&&e.licenseKey&&e.applicationID&&t){c(l,function(t,n){e[t]||(e[t]=n)});var n="https"===p.split(":")[0]||e.sslForHttp;v.proto=n?"https://":"http://",u("mark",["onload",a()],null,"api");var r=s.createElement("script");r.src=v.proto+e.agent,t.parentNode.insertBefore(r,t)}}}function o(){"complete"===s.readyState&&i()}function i(){u("mark",["domContent",a()],null,"api")}function a(){return(new Date).getTime()}var u=e("handle"),c=e(2),f=window,s=f.document;NREUM.o={ST:setTimeout,CT:clearTimeout,XHR:f.XMLHttpRequest,REQ:f.Request,EV:f.Event,PR:f.Promise,MO:f.MutationObserver},e(1);var p=""+location,l={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-943.min.js"},d=window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&!/CriOS/.test(navigator.userAgent),v=t.exports={offset:a(),origin:p,features:{},xhrWrappable:d};s.addEventListener?(s.addEventListener("DOMContentLoaded",i,!1),f.addEventListener("load",r,!1)):(s.attachEvent("onreadystatechange",o),f.attachEvent("onload",r)),u("mark",["firstbyte",a()],null,"api");var w=0},{}]},{},["loader"]);</script>
<meta name="keywords" content="docker, docker open source, docker platform, distributed applications, microservices, containers, docker containers, docker software, docker virtualization">
<meta property="og:site_name" content="Docker">
<meta property="og:type" content="website">
<meta property="og:title" content="Docker Docs">
<meta property="og:updated_time" content="2016-06-07T22:58:05-07:00">
<meta property="og:image" content="https://www.docker.com/sites/default/files/social/docker-facebook-share.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@docker_docs">
<meta name="twitter:url" content="https://twitter.com/docker_docs">
<meta name="twitter:title" content="Docs team">
<meta name="twitter:image:src" content="https://www.docker.com/sites/default/files/social/docker-twitter-share.png">
<meta property="article:published_time" content="2016-05-30T01:18:23-07:00">
<meta property="article:modified_time" content="2016-06-07T22:58:05-07:00">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Docker Docs{% if page.title %}: {{ page.title }}{% endif %}</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-touch-icon-120x120.png">
<link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/favicons/manifest.json">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/css/allcss.css">
<link rel="stylesheet" href="/css/app2.css">
<link rel="stylesheet" href="/css/responsive.css">
<link rel="stylesheet" href="/css/p2p.css">
<link rel="stylesheet" href="/css/mobile_responsive.css">
<link rel="stylesheet" href="/css/temporary.css">
<link rel="stylesheet" href="/css/documentation.css">
<script async="" src="/js/modernizr.min.js"></script>
<meta class="foundation-data-attribute-namespace">
<meta class="foundation-mq-xxlarge">
<meta class="foundation-mq-xlarge-only">
<meta class="foundation-mq-xlarge">
<meta class="foundation-mq-large-only">
<meta class="foundation-mq-large">
<meta class="foundation-mq-medium-only">
<meta class="foundation-mq-medium">
<meta class="foundation-mq-small-only">
<meta class="foundation-mq-small">
<style></style>
<meta class="foundation-mq-topbar">
<link id="mktoForms2BaseStyle" rel="stylesheet" type="text/css" href="/css/forms2.css">
<link id="mktoForms2ThemeStyle" rel="stylesheet" type="text/css" href="/css/forms2-theme-simple.css">
</head>
<body class="html front not-logged-in no-sidebars page-node page-node- page-node-1 node-type-front-page path-docker ng-scope short retina-display all_loaded" ng-app="Docker" ng-controller="DockerController" style="">
<div class="off-canvas-wrap" data-offcanvas="" style="min-height: 548px;">
<div class="inner-wrap"> <a class="left-off-canvas-toggle" href="/#">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="35px" height="35px" viewBox="0 0 35 35" enable-background="new 0 0 35 35" xml:space="preserve">
<path fill="#fff" d="M30.583,9.328c0,0.752-0.539,1.362-1.203,1.362H5.113c-0.664,0-1.203-0.61-1.203-1.362l0,0
c0-0.752,0.539-1.362,1.203-1.362H29.38C30.045,7.966,30.583,8.576,30.583,9.328L30.583,9.328z"></path>
<path fill="#fff" d="M30.583,17.09c0,0.752-0.539,1.362-1.203,1.362H5.113c-0.664,0-1.203-0.61-1.203-1.362l0,0
c0-0.752,0.539-1.362,1.203-1.362H29.38C30.045,15.728,30.583,16.338,30.583,17.09L30.583,17.09z"></path>
<path fill="#fff" d="M30.583,24.387c0,0.752-0.539,1.362-1.203,1.362H5.113c-0.664,0-1.203-0.61-1.203-1.362l0,0
c0-0.752,0.539-1.362,1.203-1.362H29.38C30.045,23.025,30.583,23.635,30.583,24.387L30.583,24.387z"></path>
</svg>
</a>
<header class="main-header">
<div class="top-right-bg"></div>
<div class="container">
<div class="row">
<div class="col-xs-2"> <a href="/"><img class="logo" src="/images/logo-docker-main.png"></a> </div>
<div class="col-xs-10">
<ul class="nav-global">
<li class="first leaf menu-mlid-603"><a href="/" target="_blank">Docs</a></li>
<li class="leaf menu-mlid-1997"><a href="https://www.docker.com/community/events">Events</a></li>
<li class="leaf menu-mlid-1998"><a href="https://www.docker.com/docker-community">Community</a></li>
<li class="leaf menu-mlid-1999"><a href="https://www.docker.com/docker-support-services">Support</a></li>
<li class="leaf menu-mlid-402"><a href="https://training.docker.com/" target="_blank">Training</a></li>
<li class="leaf menu-mlid-2000"><a href="https://www.docker.com/partners/partner-program">Partners</a></li>
<li class="leaf menu-mlid-602"><a href="https://blog.docker.com/" target="_blank">Blog</a></li>
<li class="leaf menu-mlid-2001"><a href="https://cloud.docker.com/login/" target="_blank">Log-In</a></li>
<li class="last leaf menu-mlid-2002"><a href="https://cloud.docker.com/" target="_blank">Sign-up</a></li>
</ul>
<ul class="nav-main">
<li class="first leaf menu-mlid-398"><a href="https://www.docker.com/what-docker">What is Docker?</a></li>
<li class="expanded menu-mlid-1059 has-submenu"><a href="https://www.docker.com/enterprise">Solutions</a>
<ul class="nav-main">
<li class="first leaf menu-mlid-1064"><a href="https://www.docker.com/enterprise">Solutions</a></li>
<li class="leaf menu-mlid-2365"><a href="https://www.docker.com/enterprise">Overview</a></li>
<li class="collapsed menu-mlid-993"><a href="https://www.docker.com/use-cases">Use Cases</a></li>
<li class="leaf menu-mlid-1034"><a href="https://www.docker.com/customers">Customers</a></li>
<li class="leaf menu-mlid-1587"><a href="https://www.docker.com/industry-government">For Government</a></li>
<li class="last collapsed menu-mlid-985"><a href="https://www.docker.com/products/resources">Resources</a></li>
</ul>
</li>
<li class="leaf menu-mlid-954"><a href="https://www.docker.com/products/overview">Get Docker</a></li>
<li class="leaf menu-mlid-1055"><a href="https://www.docker.com/pricing">Pricing</a></li>
<li class="leaf menu-mlid-2005 double-navstyle secondlast"><a href="https://www.docker.com/technologies/overview">Open Source</a></li>
<li class="last expanded menu-mlid-397 has-submenu"><a href="https://www.docker.com/company">Company</a>
<ul class="nav-main">
<li class="first leaf menu-mlid-698"><a href="https://www.docker.com/company">Company</a></li>
<li class="leaf menu-mlid-2366"><a href="https://www.docker.com/company">Overview</a></li>
<li class="leaf menu-mlid-622"><a href="https://www.docker.com/careers">Careers</a></li>
<li class="last leaf menu-mlid-1086"><a href="https://www.docker.com/company/news-and-press">News &amp; Press</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</header>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li class="first leaf menu-mlid-398"><a href="https://www.docker.com/what-docker">What is Docker?</a></li>
<li class="expanded menu-mlid-1059 has-submenu"><a href="https://www.docker.com/enterprise">Solutions</a>
<ul class="left-submenu">
<li class="back"><a href="/#">Back</a></li>
<li class="first leaf menu-mlid-1064"><a href="https://www.docker.com/enterprise">Solutions</a></li>
<li class="leaf menu-mlid-2365"><a href="https://www.docker.com/enterprise">Overview</a></li>
<li class="collapsed menu-mlid-993"><a href="https://www.docker.com/use-cases">Use Cases</a></li>
<li class="leaf menu-mlid-1034"><a href="https://www.docker.com/customers">Customers</a></li>
<li class="leaf menu-mlid-1587"><a href="https://www.docker.com/industry-government">For Government</a></li>
<li class="last collapsed menu-mlid-985"><a href="https://www.docker.com/products/resources">Resources</a></li>
</ul>
</li>
<li class="leaf menu-mlid-954"><a href="https://www.docker.com/products/overview">Get Docker</a></li>
<li class="leaf menu-mlid-1055"><a href="https://www.docker.com/pricing">Pricing</a></li>
<li class="leaf menu-mlid-2005 double-navstyle secondlast"><a href="https://www.docker.com/technologies/overview">Open Source</a></li>
<li class="last expanded menu-mlid-397 has-submenu"><a href="https://www.docker.com/company">Company</a>
<ul class="left-submenu">
<li class="back"><a href="/#">Back</a></li>
<li class="first leaf menu-mlid-698"><a href="https://www.docker.com/company">Company</a></li>
<li class="leaf menu-mlid-2366"><a href="https://www.docker.com/company">Overview</a></li>
<li class="leaf menu-mlid-622"><a href="https://www.docker.com/careers">Careers</a></li>
<li class="last leaf menu-mlid-1086"><a href="https://www.docker.com/company/news-and-press">News &amp; Press</a></li>
</ul>
</li>
</ul>
<ul class="nav-global-off-canvas">
<li class="first leaf menu-mlid-603"><a href="/" target="_blank">Docs</a></li>
<li class="leaf menu-mlid-1997"><a href="https://www.docker.com/community/events">Events</a></li>
<li class="leaf menu-mlid-1998"><a href="https://www.docker.com/docker-community">Community</a></li>
<li class="leaf menu-mlid-1999"><a href="https://www.docker.com/docker-support-services">Support</a></li>
<li class="leaf menu-mlid-402"><a href="https://training.docker.com/" target="_blank">Training</a></li>
<li class="leaf menu-mlid-2000"><a href="https://www.docker.com/partners/partner-program">Partners</a></li>
<li class="leaf menu-mlid-602"><a href="https://blog.docker.com/" target="_blank">Blog</a></li>
<li class="leaf menu-mlid-2001"><a href="https://cloud.docker.com/login/" target="_blank">Log-In</a></li>
<li class="last leaf menu-mlid-2002"><a href="https://cloud.docker.com/" target="_blank">Sign-up</a></li>
</ul>
</aside>
<div class="dockercon16">
<section class="title_section darkblue"> </section>
<div class="">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-3 col-md-2 col-xl-2 docsidebarnav_section">
<div class="region region-hero-sub"><ul class="nav-sub">
</ul>
</div>
</div>
<div {% if page.notoc %} class="col-xs-12 col-sm-9 col-md-10" {% else %} class="col-xs-12 col-sm-9 col-md-8 col-xl-9" {% endif %} >
<section class="section" id="DocumentationText">
{{ content }}
<div style="text-align: center">
<img src="/images/chat.png" alt="chat icon" style="margin-right: 10px">
<b>Feedback?</b> Questions? Suggestions?<br/>
<a href="https://github.com/docker/docker.github.io/edit/master/{{ page.path }}" class="nomunge">Edit this page</a>,
<a href="https://github.com/docker/docker.github.io/issues/new?title=Feedback for: {{ page.path }}&body=URL: {{ page.path }}" class="nomunge">file a ticket</a>, or rate this page:
<div id="pd_rating_holder_8453675"></div>
<script type="text/javascript">
PDRTJS_settings_8453675 = {
"id" : "8453675",
"unique_id" : "default",
"title" : "{{ page.title }}",
"permalink" : "{{ page.path }}"
};
(function(d,c,j){if(!document.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src=('https:'==document.location.protocol)?'https://polldaddy.com/js/rating/rating.js':'http://i0.poll.fm/js/rating/rating.js';s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);}}(document,'script','pd-rating-js'));
</script>
</div>
</section>
<script language="javascript">
var x = document.links.length;
for (i = 0; i < x; i++) {
var thisHREF = document.links[i].href;
if (thisHREF.indexOf(window.location.hostname) > -1 && document.links[i].className.indexOf("nomunge")<0)
{
thisHREF = thisHREF.replace(".md","/").replace("/index/","/");
document.links[i].setAttribute('href', thisHREF);
}
}
</script>
</div>
{% if page.notoc != true %}
<div class="hidden-xs hidden-sm col-md-2 col-xl-1 tableofcontents_section">
<section class="section" id="TableOfContentsSection">
<span class="title_section">
<form class="search-form form-inline ng-pristine ng-valid" action="/search/">
<span class="algolia-autocomplete" style="position: relative; display: inline-block; direction: ltr;"><input class="search-field form-control ds-input" id="st-search-input" value="" name="q" placeholder="Search the docs" type="search" autocomplete="off" spellcheck="false" dir="auto" style="position: relative; vertical-align: top;"><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: Geomanist, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; word-spacing: 0px; letter-spacing: normal; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><span class="ds-dropdown-menu" style="position: absolute; top: 100%; z-index: 100; left: 0px; right: auto; display: none;"><div class="ds-dataset-0"></div></span></span>
<button type="submit" class="search-submit btn btn-default">Search</button>
</form>
</span>
<span><a href="https://github.com/docker/docker.github.io/edit/master/{{ page.path }}" class="button darkblue-btn nomunge" style="color:#FFFFFF; width:100%; margin: 0px;">Edit This Page</a></span>
<nav id="TableOfContents">
</nav>
</section>
</div>
{% endif %}<!-- end check for notoc != true -->
</div>
</div>
</div>
<a class="exit-off-canvas"><i class="footer_mobypadding"> </i></a> </div>
</div>
<div class="moby_footer"> <i class="bar"></i> <i class="moby"></i> </div>
<footer class="main_footer">
<div class="container">
<div class="top_footer">
<div class="row">
<div class="col-xs-12 col-sm-5 col-md-5 col-sm-push-3 col-md-push-3">
<h6>Connect</h6>
<p>Subscribe to our newsletter</p>
<div class=" newsletter">
<script src="/js/forms2.min.js"></script>
<form id="mktoForm_1038" class="ng-pristine ng-valid mktoForm mktoHasWidth mktoLayoutLeft" novalidate style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51); width: 271px;">
<style type="text/css">
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
color:#fff;
border:1px solid #75ae4c;
padding:0.4em 1em;
font-size:1em;
background-color:#99c47c;
background-image: -webkit-gradient(linear, left top, left bottom, from(#99c47c), to(#75ae4c));
background-image: -webkit-linear-gradient(top, #99c47c, #75ae4c);
background-image: -moz-linear-gradient(top, #99c47c, #75ae4c);
background-image: linear-gradient(to bottom, #99c47c, #75ae4c);
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
border:1px solid #447f19;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:focus {
outline:none;
border:1px solid #447f19;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:active{
background-color:#75ae4c;
background-image: -webkit-gradient(linear, left top, left bottom, from(#75ae4c), to(#99c47c));
background-image: -webkit-linear-gradient(top, #75ae4c, #99c47c);
background-image: -moz-linear-gradient(top, #75ae4c, #99c47c);
background-image: linear-gradient(to bottom, #75ae4c, #99c47c);
}
</style>
</form>
<script>
MktoForms2.loadForm("//app-sj05.marketo.com", "929-FJL-178", 1038, function(form) {
form.onSuccess(function(values, followUpUrl) {
location.href = "https://www.docker.com/thank-you-subscribing-docker-weekly";
return false;
});
});
MktoForms2.whenReady(function(form){
});
</script>
</div>
<ul class="social-icons">
<li class="facebook"><a target="_blank" href="https://www.facebook.com/docker.run">facebook</a></li>
<li class="google"><a target="_blank" href="https://plus.google.com/u/0/communities/108146856671494713993">google-plus</a></li>
<li class="github"><a target="_blank" href="https://github.com/docker/docker">github</a></li>
<li class="linkedin"><a target="_blank" href="https://www.linkedin.com/company/docker">linkedin</a></li>
<li class="youtube"><a target="_blank" href="https://www.youtube.com/user/dockerrun">youtube</a></li>
<li class="reddit"><a target="_blank" href="https://www.reddit.com/r/docker">reddit</a></li>
<li class="twitter"><a target="_blank" href="https://twitter.com/docker">twitter</a></li>
<li class="slideshare"><a target="_blank" href="http://www.slideshare.net/docker">slideshare</a></li>
</ul>
</div>
<div class="col-xs-6 col-sm-3 col-md-3 col-sm-pull-5 col-md-pull-5 sm-margin-top-40">
<h6>Docker</h6>
<ul class="menu">
<li class="first leaf menu-mlid-1487"><a href="/engine/getstarted/" target="_blank">Get Started</a></li>
<li class="leaf menu-mlid-1488"><a href="/" target="_blank">Docs</a></li>
<li class="leaf menu-mlid-1490"><a href="https://blog.docker.com/" target="_blank">Blog</a></li>
<li class="leaf menu-mlid-1491"><a href="https://training.docker.com/" target="_blank">Training</a></li>
<li class="last leaf menu-mlid-1492"><a href="https://www.docker.com/open-source">Open Source</a></li>
</ul>
</div>
<div class="col-xs-6 col-sm-4 col-md-4 sm-margin-top-40">
<h6>Related Links</h6>
<ul id="cp_links">
<li><a href="https://www.docker.com/cp/container-management-deployment">Container Management Deployment</a></li>
<li><a href="https://www.docker.com/cp/docker-and-aws">Docker And Aws</a></li>
<li><a href="https://www.docker.com/cp/container-management-orchestration">Container Management Orchestration</a></li>
<li><a href="https://www.docker.com/cp/docker-and-kubernetes">Docker And Kubernetes</a></li>
<li><a href="https://www.docker.com/cp/container-orchestration-engines">Container Orchestration Engines</a></li>
</ul>
<div id="block-block-5" class="block block-block"> </div>
</div>
</div>
</div>
<div class="bottom_footer">
<div class="footer-nav">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-5 col-md-push-7">
<nav class="primary-footer-sub-nav">
<ul>
<li><a href="https://www.docker.com/products/docker-hub">Hub</a></li>
<li><a href="https://status.docker.com/">Status</a></li>
<li><a href="https://www.docker.com/docker-security">Security</a></li>
<li><a href="https://www.docker.com/legal">Legal</a></li>
<li><a href="https://goto.docker.com/sales-inquiry.html">Contact</a></li>
</ul>
</nav>
</div>
<div class="col-xs-12 col-sm-12 col-md-7 col-md-pull-5">
<p>Build, Ship, Run. An open platform for distributed applications for developers and sysadmins</p>
</div>
</div>
</div>
<div class="footer-copyright">
<p class="copyright">Copyright &copy; {{ 'now' | date: "%Y" }} Docker Inc. All rights reserved.</p>
</div>
</div>
</div>
</footer>
<link rel="stylesheet" href="/css/github.css">
<script src="/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="/js/alljs.js"></script>
<script async="" src="/js/menu.js"></script>
<script async="" src="/js/app.js"></script>
<script async="" src="/js/anchorlinks.js"></script>
<noscript>
&lt;iframe src="//www.googletagmanager.com/ns.html?id=GTM-WLGFZV" height="0" width="0" style="display:none;visibility:hidden"&gt;&lt;/iframe&gt;
</noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WLGFZV');</script>
</div>
<div id="mktoStyleLoaded" style="display: none; border-top-color: rgb(18, 52, 86);"></div>
<form class="ng-pristine ng-valid mktoForm mktoHasWidth mktoLayoutLeft" novalidate style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(51, 51, 51); visibility: hidden; position: absolute; top: -500px; left: -1000px; width: 1602px;">
</form>
<iframe name="mktoFormsXDIframe0.4071891359139037" id="MktoForms2XDIframe" src="/js/XDFrame.html" style="display: none;"></iframe>
<script aria-hidden="true" type="application/x-lastpass" id="hiddenlpsubmitdiv" style="display: none;"></script><script>try{(function() { for(var lastpass_iter=0; lastpass_iter < document.forms.length; lastpass_iter++){ var lastpass_f = document.forms[lastpass_iter]; if(typeof(lastpass_f.lpsubmitorig2)=="undefined"){ lastpass_f.lpsubmitorig2 = lastpass_f.submit; if (typeof(lastpass_f.lpsubmitorig2)=='object'){ continue;}lastpass_f.submit = function(){ var form=this; var customEvent = document.createEvent("Event"); customEvent.initEvent("lpCustomEvent", true, true); var d = document.getElementById("hiddenlpsubmitdiv"); if (d) {for(var i = 0; i < document.forms.length; i++){ if(document.forms[i]==form){ if (typeof(d.innerText) != 'undefined') { d.innerText=i.toString(); } else { d.textContent=i.toString(); } } } d.dispatchEvent(customEvent); }form.lpsubmitorig2(); } } }})()}catch(e){}</script>
</body>
</html>

View File

@ -1,3 +1,7 @@
---
{}
---
FROM docs/base:hugo-github-linking
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)

View File

@ -1,3 +1,7 @@
---
{}
---
.PHONY: all binary build cross default docs docs-build docs-shell shell test test-unit test-integration test-integration-cli test-docker-py validate
# env vars passed through directly to Docker's build scripts

View File

@ -1,13 +1,15 @@
+++
type = "cloud-api-docs"
title = "API reference"
description = "API reference"
keywords = ["Docker, cloud, API"]
weight = 100
[menu.main]
parent="docker-cloud"
identifier = "docker-cloudapi"
+++
---
description: API reference
keywords:
- Docker, cloud, API
menu:
main:
identifier: docker-cloudapi
parent: docker-cloud
title: API reference
type: cloud-api-docs
weight: 100
---
# Docker Cloud APIs

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,3 +1,5 @@
!function(){if("ontouchstart"in window){var e,t,n,i,o,r,s={};e=function(e,t){return Math.abs(e[0]-t[0])>5||Math.abs(e[1]-t[1])>5},t=function(e){this.startXY=[e.touches[0].clientX,e.touches[0].clientY],this.threshold=!1},n=function(t){return this.threshold?!1:void(this.threshold=e(this.startXY,[t.touches[0].clientX,t.touches[0].clientY]))},i=function(t){if(!this.threshold&&!e(this.startXY,[t.changedTouches[0].clientX,t.changedTouches[0].clientY])){var n=t.changedTouches[0],i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.simulated=!0,t.target.dispatchEvent(i)}},o=function(e){var t=Date.now(),n=t-s.time,i=e.clientX,o=e.clientY,a=[Math.abs(s.x-i),Math.abs(s.y-o)],c=r(e.target,"A")||e.target,h=c.nodeName,l="A"===h,u=window.navigator.standalone&&l&&e.target.getAttribute("href");return s.time=t,s.x=i,s.y=o,(!e.simulated&&(500>n||1500>n&&a[0]<50&&a[1]<50)||u)&&(e.preventDefault(),e.stopPropagation(),!u)?!1:(u&&(window.location=c.getAttribute("href")),void(c&&c.classList&&(c.classList.add("energize-focus"),window.setTimeout(function(){c.classList.remove("energize-focus")},150))))},r=function(e,t){for(var n=e;n!==document.body;){if(!n||n.nodeName===t)return n;n=n.parentNode}return null},document.addEventListener("touchstart",t,!1),document.addEventListener("touchmove",n,!1),document.addEventListener("touchend",i,!1),document.addEventListener("click",o,!0)}}(),/*
Copyright 2008-2013 Concur Technologies, Inc.

View File

@ -1,3 +1,5 @@
!function(){if("ontouchstart"in window){var e,t,n,i,o,s,r={};e=function(e,t){return Math.abs(e[0]-t[0])>5||Math.abs(e[1]-t[1])>5},t=function(e){this.startXY=[e.touches[0].clientX,e.touches[0].clientY],this.threshold=!1},n=function(t){return this.threshold?!1:void(this.threshold=e(this.startXY,[t.touches[0].clientX,t.touches[0].clientY]))},i=function(t){if(!this.threshold&&!e(this.startXY,[t.changedTouches[0].clientX,t.changedTouches[0].clientY])){var n=t.changedTouches[0],i=document.createEvent("MouseEvents");i.initMouseEvent("click",!0,!0,window,0,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),i.simulated=!0,t.target.dispatchEvent(i)}},o=function(e){var t=Date.now(),n=t-r.time,i=e.clientX,o=e.clientY,a=[Math.abs(r.x-i),Math.abs(r.y-o)],c=s(e.target,"A")||e.target,h=c.nodeName,l="A"===h,u=window.navigator.standalone&&l&&e.target.getAttribute("href");return r.time=t,r.x=i,r.y=o,(!e.simulated&&(500>n||1500>n&&a[0]<50&&a[1]<50)||u)&&(e.preventDefault(),e.stopPropagation(),!u)?!1:(u&&(window.location=c.getAttribute("href")),void(c&&c.classList&&(c.classList.add("energize-focus"),window.setTimeout(function(){c.classList.remove("energize-focus")},150))))},s=function(e,t){for(var n=e;n!==document.body;){if(!n||n.nodeName===t)return n;n=n.parentNode}return null},document.addEventListener("touchstart",t,!1),document.addEventListener("touchmove",n,!1),document.addEventListener("touchend",i,!1),document.addEventListener("click",o,!0)}}(),/*
Copyright 2008-2013 Concur Technologies, Inc.

View File

@ -1 +1,3 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.content h1,.content h2,.content h3,.content h4,body{font-family:"Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;font-size:13px}.content h1,.content h2,.content h3,.content h4{font-weight:bold}.content pre,.content code{font-family:Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;font-size:12px;line-height:1.5}.content pre,.content code{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}@font-face{font-family:'slate';src:url("../fonts/slate.eot?-syv14m");src:url("../fonts/slate.eot?#iefix-syv14m") format("embedded-opentype"),url("../fonts/slate.woff2?-syv14m") format("woff2"),url("../fonts/slate.woff?-syv14m") format("woff"),url("../fonts/slate.ttf?-syv14m") format("truetype"),url("../fonts/slate.svg?-syv14m#slate") format("svg");font-weight:normal;font-style:normal}.content aside.warning:before,.content aside.notice:before,.content aside.success:before{font-family:'slate';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1}.content aside.warning:before{content:"\e600"}.content aside.notice:before{content:"\e602"}.content aside.success:before{content:"\e606"}.tocify,.toc-footer,.lang-selector,.search,#nav-button{display:none}.tocify-wrapper>img{margin:0 auto;display:block}.content{font-size:12px}.content pre,.content code{border:1px solid #999;border-radius:5px;font-size:0.8em}.content pre{padding:1.3em}.content code{padding:0.2em}.content table{border:1px solid #999}.content table tr{border-bottom:1px solid #999}.content table td,.content table th{padding:0.7em}.content p{line-height:1.5}.content a{text-decoration:none;color:#000}.content h1{font-size:2.5em;padding-top:0.5em;padding-bottom:0.5em;margin-top:1em;margin-bottom:21px;border:2px solid #ccc;border-width:2px 0;text-align:center}.content h2{font-size:1.8em;margin-top:2em;border-top:2px solid #ccc;padding-top:0.8em}.content h1+h2,.content h1+div+h2{border-top:none;padding-top:0;margin-top:0}.content h3,.content h4{font-size:0.8em;margin-top:1.5em;margin-bottom:0.8em;text-transform:uppercase}.content h5,.content h6{text-transform:uppercase}.content aside{padding:1em;border:1px solid #ccc;border-radius:5px;margin-top:1.5em;margin-bottom:1.5em;line-height:1.6}.content aside:before{vertical-align:middle;padding-right:0.5em;font-size:14px}

File diff suppressed because one or more lines are too long

View File

@ -1,16 +1,15 @@
<!--[metadata]>
+++
type = "_default"
title = "DTR APIs"
description = "Learn how to use DTR APIs."
keywords = ["docker, registry, DTR, APIs"]
[menu.main]
parent="workw_dtr"
identifier="smn_dtrapi"
weight="100"
+++
<![end-metadata]-->
---
description: Learn how to use DTR APIs.
keywords:
- docker, registry, DTR, APIs
menu:
main:
identifier: smn_dtrapi
parent: workw_dtr
weight: "100"
title: DTR APIs
type: _default
---
# DTR APIs

View File

@ -1,3 +1,5 @@
<!doctype html>
<html>
<head>

View File

@ -1,16 +1,15 @@
<!--[metadata]>
+++
type = "_default"
title = "Overview"
description = "Learn how to use DTR APIs."
keywords = ["docker, registry, DTR, APIs"]
[menu.main]
parent="smn_dtrapi"
identifier="dtr_api_overview"
weight=0
+++
<![end-metadata]-->
---
description: Learn how to use DTR APIs.
keywords:
- docker, registry, DTR, APIs
menu:
main:
identifier: dtr_api_overview
parent: smn_dtrapi
weight: 0
title: Overview
type: _default
---
# API Overview

View File

@ -1,3 +1,5 @@
/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
.swagger-section pre code {
display: block;

View File

@ -1,3 +1,5 @@
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
html,
body,

View File

@ -1,3 +1,5 @@
/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
.swagger-section pre code {
display: block;

View File

@ -1,3 +1,5 @@
.swagger-section #header a#logo {
font-size: 1.5em;
font-weight: bold;

View File

@ -1,3 +1,5 @@
/* droid-sans-regular - latin */
@font-face {
font-family: 'Droid Sans';

View File

@ -1,3 +1,5 @@
em {
font-weight: bold;
}

0
apidocs/v1.3.3/images/favicon-16x16.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 645 B

0
apidocs/v1.3.3/images/favicon-32x32.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
apidocs/v1.3.3/images/favicon.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html>
<head>

View File

@ -1,12 +1,14 @@
+++
type = "_default"
title = "v1.3.3 API"
description = "v1.3.3 API"
keywords = ["Docker, DTR, API, v1.3.3"]
weight = 101
[menu.main]
parent = "smn_dtrapi"
+++
---
description: v1.3.3 API
keywords:
- Docker, DTR, API, v1.3.3
menu:
main:
parent: smn_dtrapi
title: v1.3.3 API
type: _default
weight: 101
---
<div class="swagger-section">
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,5 @@
/*
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/

View File

@ -1 +1,3 @@
(function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery);

View File

@ -1,3 +1,5 @@
/*
jQuery Wiggle
Author: WonderGroup, Jordan Thomas

View File

@ -1,3 +1,5 @@
/**
* marked - a markdown parser
* Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)

View File

@ -1,3 +1,5 @@
var appName;
var popupMask;
var popupDialog;

View File

@ -1,3 +1,5 @@
// Underscore.js 1.7.0
// http://underscorejs.org
// (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,5 @@
$(function () {
var url = window.location.search.match(/url=([^&]+)/);
if (url && url.length > 1) {

View File

@ -1,3 +1,5 @@
$(function () {
var url = window.location.search.match(/url=([^&]+)/);
if (url && url.length > 1) {

View File

@ -1,3 +1,5 @@
<script>
var qp = null;
if(window.location.hash) {

View File

@ -1,3 +1,5 @@
/**
* swagger-ui - Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API
* @version v2.1.3

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,5 @@
/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
.swagger-section pre code {
display: block;

View File

@ -1,3 +1,5 @@
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
html,
body,

View File

@ -1,3 +1,5 @@
/* Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> */
.swagger-section pre code {
display: block;

View File

@ -1,3 +1,5 @@
.swagger-section #header a#logo {
font-size: 1.5em;
font-weight: bold;

View File

@ -1,3 +1,5 @@
/* droid-sans-regular - latin */
@font-face {
font-family: 'Droid Sans';

View File

@ -1,3 +1,5 @@
em {
font-weight: bold;
}

0
apidocs/v1.4.0/images/favicon-16x16.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 645 B

After

Width:  |  Height:  |  Size: 645 B

0
apidocs/v1.4.0/images/favicon-32x32.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
apidocs/v1.4.0/images/favicon.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html>
<head>

View File

@ -1,12 +1,14 @@
+++
type = "_default"
title = "v1.4.0 API"
description = "v1.4.0 API"
keywords = ["Docker, DTR, API, v1.4.0"]
weight = 101
[menu.main]
parent = "smn_dtrapi"
+++
---
description: v1.4.0 API
keywords:
- Docker, DTR, API, v1.4.0
menu:
main:
parent: smn_dtrapi
title: v1.4.0 API
type: _default
weight: 101
---
<div class="swagger-section">
<div id="swagger-ui-container" class="swagger-ui-wrap"></div>

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

View File

@ -1,3 +1,5 @@
'use strict';
/* jshint quotmark: double */

Some files were not shown because too many files have changed in this diff Show More