retooling for hugo
Tweaking for Hugo Updating the Dockerfile with new sed; fix broken link on Kitematic Fixing image pull for Dockerfile Removing docs targets Signed-off-by: Mary Anthony <mary@docker.com>
26
Makefile
|
|
@ -23,11 +23,6 @@ DOCKER_ENVS := \
|
||||||
BIND_DIR := $(if $(BINDDIR),$(BINDDIR),$(if $(DOCKER_HOST),,bundles))
|
BIND_DIR := $(if $(BINDDIR),$(BINDDIR),$(if $(DOCKER_HOST),,bundles))
|
||||||
DOCKER_MOUNT := $(if $(BIND_DIR),-v "$(CURDIR)/$(BIND_DIR):/go/src/github.com/docker/docker/$(BIND_DIR)")
|
DOCKER_MOUNT := $(if $(BIND_DIR),-v "$(CURDIR)/$(BIND_DIR):/go/src/github.com/docker/docker/$(BIND_DIR)")
|
||||||
|
|
||||||
# to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
|
|
||||||
DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
|
|
||||||
|
|
||||||
# to allow `make DOCSPORT=9000 docs`
|
|
||||||
DOCSPORT := 8000
|
|
||||||
|
|
||||||
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
||||||
DOCKER_IMAGE := docker-dev$(if $(GIT_BRANCH),:$(GIT_BRANCH))
|
DOCKER_IMAGE := docker-dev$(if $(GIT_BRANCH),:$(GIT_BRANCH))
|
||||||
|
|
@ -51,19 +46,6 @@ binary: build
|
||||||
cross: build
|
cross: build
|
||||||
$(DOCKER_RUN_DOCKER) hack/make.sh binary cross
|
$(DOCKER_RUN_DOCKER) hack/make.sh binary cross
|
||||||
|
|
||||||
docs: docs-build
|
|
||||||
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" mkdocs serve
|
|
||||||
|
|
||||||
docs-shell: docs-build
|
|
||||||
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash
|
|
||||||
|
|
||||||
docs-release: docs-build
|
|
||||||
$(DOCKER_RUN_DOCS) -e OPTIONS -e BUILD_ROOT -e DISTRIBUTION_ID \
|
|
||||||
-v $(CURDIR)/docs/awsconfig:/docs/awsconfig \
|
|
||||||
"$(DOCKER_DOCS_IMAGE)" ./release.sh
|
|
||||||
|
|
||||||
docs-test: docs-build
|
|
||||||
$(DOCKER_RUN_DOCS) "$(DOCKER_DOCS_IMAGE)" ./test.sh
|
|
||||||
|
|
||||||
test: build
|
test: build
|
||||||
$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration-cli test-docker-py
|
$(DOCKER_RUN_DOCKER) hack/make.sh binary cross test-unit test-integration-cli test-docker-py
|
||||||
|
|
@ -86,13 +68,5 @@ shell: build
|
||||||
build: bundles
|
build: bundles
|
||||||
docker build -t "$(DOCKER_IMAGE)" .
|
docker build -t "$(DOCKER_IMAGE)" .
|
||||||
|
|
||||||
docs-build:
|
|
||||||
cp ./VERSION docs/VERSION
|
|
||||||
echo "$(GIT_BRANCH)" > docs/GIT_BRANCH
|
|
||||||
# echo "$(AWS_S3_BUCKET)" > docs/AWS_S3_BUCKET
|
|
||||||
echo "$(GITCOMMIT)" > docs/GITCOMMIT
|
|
||||||
docker pull docs/base
|
|
||||||
docker build -t "$(DOCKER_DOCS_IMAGE)" docs
|
|
||||||
|
|
||||||
bundles:
|
bundles:
|
||||||
mkdir bundles
|
mkdir bundles
|
||||||
|
|
|
||||||
179
docs/Dockerfile
|
|
@ -1,163 +1,24 @@
|
||||||
#
|
FROM docs/base:hugo
|
||||||
# See the top level Makefile in https://github.com/docker/docker for usage.
|
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
|
||||||
#
|
|
||||||
FROM docs/base:latest
|
|
||||||
MAINTAINER Sven Dowideit <SvenDowideit@docker.com> (@SvenDowideit)
|
|
||||||
|
|
||||||
# This section ensures we pull the correct version of each
|
# To get the git info for this repo
|
||||||
# sub project
|
|
||||||
ENV COMPOSE_BRANCH release
|
|
||||||
ENV SWARM_BRANCH v0.2.0
|
|
||||||
ENV MACHINE_BRANCH docs
|
|
||||||
ENV DISTRIB_BRANCH docs
|
|
||||||
ENV KITEMATIC_BRANCH master
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: need the full repo source to get the git version info
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
|
|
||||||
# Reset the /docs dir so we can replace the theme meta with the new repo's git info
|
COPY . /docs/content/engine/
|
||||||
# RUN git reset --hard
|
|
||||||
|
|
||||||
# Then copy the desired docs into the /docs/sources/ dir
|
# Sed to process GitHub Markdown
|
||||||
COPY ./sources/ /docs/sources
|
# 1-2 Remove comment code from metadata block
|
||||||
|
# 3 Remove .md extension from link text
|
||||||
COPY ./VERSION VERSION
|
# 4 Change ](/ to ](/project/ in links
|
||||||
|
# 5 Change ](word) to ](/project/word)
|
||||||
# adding the image spec will require Docker 1.5 and `docker build -f docs/Dockerfile .`
|
# 6 Change ](../../ to ](/project/
|
||||||
#COPY ./image/spec/v1.md /docs/sources/reference/image-spec-v1.md
|
# 7 Change ](../ to ](/project/word)
|
||||||
|
#
|
||||||
# TODO: don't do this - look at merging the yml file in build.sh
|
#
|
||||||
COPY ./mkdocs.yml ./s3_website.json ./release.sh ./
|
RUN find /docs/content/engine -type f -name "*.md" -exec sed -i.old \
|
||||||
|
-e '/^<!.*metadata]>/g' \
|
||||||
#######################
|
-e '/^<!.*end-metadata.*>/g' \
|
||||||
# Docker Distribution
|
-e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \
|
||||||
########################
|
-e 's/\(\]\)\([(]\)\(\/\)/\1\2\/engine\//g' \
|
||||||
|
-e 's/\(\][(]\)\([A-z]*[)]\)/\]\(\/engine\/\2/g' \
|
||||||
#ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/mkdocs.yml /docs/mkdocs-distribution.yml
|
-e 's/\(\][(]\)\(\.\.\/\)/\1\/engine\//g' {} \;
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/notifications.png \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/images/registry.png \
|
|
||||||
/docs/sources/registry/images/
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/index.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/deploying.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/configuration.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storagedrivers.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/notifications.md \
|
|
||||||
/docs/sources/registry/
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/api.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/json.md \
|
|
||||||
/docs/sources/registry/spec/
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/s3.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/azure.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/filesystem.md \
|
|
||||||
https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/storage-drivers/inmemory.md \
|
|
||||||
/docs/sources/registry/storage-drivers/
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/distribution/${DISTRIB_BRANCH}/docs/spec/auth/token.md /docs/sources/registry/spec/auth/token.md
|
|
||||||
|
|
||||||
RUN sed -i.old '1s;^;no_version_dropdown: true;' \
|
|
||||||
/docs/sources/registry/*.md \
|
|
||||||
/docs/sources/registry/spec/*.md \
|
|
||||||
/docs/sources/registry/spec/auth/*.md \
|
|
||||||
/docs/sources/registry/storage-drivers/*.md
|
|
||||||
|
|
||||||
RUN sed -i.old -e '/^<!--GITHUB/g' -e '/^IGNORES-->/g'\
|
|
||||||
/docs/sources/registry/*.md \
|
|
||||||
/docs/sources/registry/spec/*.md \
|
|
||||||
/docs/sources/registry/spec/auth/*.md \
|
|
||||||
/docs/sources/registry/storage-drivers/*.md
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# Docker Swarm
|
|
||||||
#######################
|
|
||||||
|
|
||||||
#ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/mkdocs.yml /docs/mkdocs-swarm.yml
|
|
||||||
ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/docs/index.md /docs/sources/swarm/index.md
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/discovery/README.md /docs/sources/swarm/discovery.md
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/api/README.md /docs/sources/swarm/API.md
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/scheduler/filter/README.md /docs/sources/swarm/scheduler/filter.md
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/swarm/${SWARM_BRANCH}/scheduler/strategy/README.md /docs/sources/swarm/scheduler/strategy.md
|
|
||||||
|
|
||||||
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/swarm/*.md /docs/sources/swarm/scheduler/*.md
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# Docker Machine
|
|
||||||
#######################
|
|
||||||
#ADD https://raw.githubusercontent.com/docker/machine/${MACHINE_BRANCH}/docs/mkdocs.yml /docs/mkdocs-machine.yml
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/machine/${MACHINE_BRANCH}/docs/index.md /docs/sources/machine/index.md
|
|
||||||
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/machine/index.md
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# Docker Compose
|
|
||||||
#######################
|
|
||||||
|
|
||||||
#ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/mkdocs.yml /docs/mkdocs-compose.yml
|
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/index.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/install.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/cli.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/yml.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/env.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/completion.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/django.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/rails.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/wordpress.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/extends.md \
|
|
||||||
https://raw.githubusercontent.com/docker/compose/${COMPOSE_BRANCH}/docs/production.md \
|
|
||||||
/docs/sources/compose/
|
|
||||||
|
|
||||||
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/compose/*.md
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# Kitematic
|
|
||||||
#######################
|
|
||||||
ADD https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/faq.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/index.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/known-issues.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/minecraft-server.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/nginx-web-server.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/rethinkdb-dev-database.md \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/userguide.md \
|
|
||||||
/docs/sources/kitematic/
|
|
||||||
RUN sed -i.old '1s;^;no_version_dropdown: true;' /docs/sources/kitematic/*.md
|
|
||||||
ADD https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/browse-images.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/change-folder.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-access-button.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-redis-container.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/cli-terminal.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/containers.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/installing.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-add-server.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-create.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-data-volume.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-login.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-map.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-port.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-restart.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/minecraft-server-address.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-2048-files.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-2048.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-create.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-data-folder.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-data-volume.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-hello-world.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-preview.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/nginx-serving-2048.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-container.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-create.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethink-ports.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/rethinkdb-preview.png \
|
|
||||||
https://raw.githubusercontent.com/kitematic/kitematic/${KITEMATIC_BRANCH}/docs/assets/volumes-dir.png \
|
|
||||||
/docs/sources/kitematic/assets/
|
|
||||||
|
|
||||||
# Then build everything together, ready for mkdocs
|
|
||||||
RUN /docs/build.sh
|
|
||||||
|
|
|
||||||
55
docs/Makefile
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
.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
|
||||||
|
# to allow things like `make DOCKER_CLIENTONLY=1 binary` easily
|
||||||
|
# `docs/sources/contributing/devenvironment.md ` and `project/PACKAGERS.md` have some limited documentation of some of these
|
||||||
|
DOCKER_ENVS := \
|
||||||
|
-e BUILDFLAGS \
|
||||||
|
-e DOCKER_CLIENTONLY \
|
||||||
|
-e DOCKER_EXECDRIVER \
|
||||||
|
-e DOCKER_GRAPHDRIVER \
|
||||||
|
-e TESTDIRS \
|
||||||
|
-e TESTFLAGS \
|
||||||
|
-e TIMEOUT
|
||||||
|
# note: we _cannot_ add "-e DOCKER_BUILDTAGS" here because even if it's unset in the shell, that would shadow the "ENV DOCKER_BUILDTAGS" set in our Dockerfile, which is very important for our official builds
|
||||||
|
|
||||||
|
# to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
|
||||||
|
DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))
|
||||||
|
|
||||||
|
# to allow `make DOCSPORT=9000 docs`
|
||||||
|
DOCSPORT := 8000
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
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))
|
||||||
|
|
||||||
|
|
||||||
|
DOCKER_RUN_DOCS := docker run --rm -it $(DOCS_MOUNT) -e AWS_S3_BUCKET -e NOCACHE
|
||||||
|
|
||||||
|
# for some docs workarounds (see below in "docs-build" target)
|
||||||
|
GITCOMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
|
||||||
|
|
||||||
|
default: docs
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
docs-shell: docs-build
|
||||||
|
$(DOCKER_RUN_DOCS) -p $(if $(DOCSPORT),$(DOCSPORT):)8000 "$(DOCKER_DOCS_IMAGE)" bash
|
||||||
|
|
||||||
|
|
||||||
|
docs-build:
|
||||||
|
# ( git remote | grep -v upstream ) || git diff --name-status upstream/release..upstream/docs ./ > ./changed-files
|
||||||
|
# echo "$(GIT_BRANCH)" > GIT_BRANCH
|
||||||
|
# echo "$(AWS_S3_BUCKET)" > AWS_S3_BUCKET
|
||||||
|
# echo "$(GITCOMMIT)" > GITCOMMIT
|
||||||
|
docker build -t "$(DOCKER_DOCS_IMAGE)" .
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
<!--[metadata]>
|
||||||
|
+++
|
||||||
|
draft = true
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Docker Documentation
|
# Docker Documentation
|
||||||
|
|
||||||
The source for Docker documentation is in this directory under `sources/`. Our
|
The source for Docker documentation is in this directory under `sources/`. Our
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB |
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Link via an ambassador container
|
<!--[metadata]>
|
||||||
page_description: Using the Ambassador pattern to abstract (network) services
|
+++
|
||||||
page_keywords: Examples, Usage, links, docker, documentation, examples, names, name, container naming
|
title = "Link via an ambassador container"
|
||||||
|
description = "Using the Ambassador pattern to abstract (network) services"
|
||||||
|
keywords = ["Examples, Usage, links, docker, documentation, examples, names, name, container naming"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 6
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Link via an ambassador container
|
# Link via an ambassador container
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Resizing a Boot2Docker volume
|
<!--[metadata]>
|
||||||
page_description: Resizing a Boot2Docker volume in VirtualBox with GParted
|
+++
|
||||||
page_keywords: boot2docker, volume, virtualbox
|
title = "Resizing a Boot2Docker volume "
|
||||||
|
description = "Resizing a Boot2Docker volume in VirtualBox with GParted"
|
||||||
|
keywords = ["boot2docker, volume, virtualbox"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_win_osx"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Getting “no space left on device” errors with Boot2Docker?
|
# Getting “no space left on device” errors with Boot2Docker?
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Create a base image
|
<!--[metadata]>
|
||||||
page_description: How to create base images
|
+++
|
||||||
page_keywords: Examples, Usage, base image, docker, documentation, examples
|
title = "Create a base image"
|
||||||
|
description = "How to create base images"
|
||||||
|
keywords = ["Examples, Usage, base image, docker, documentation, examples"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_images"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Create a base image
|
# Create a base image
|
||||||
|
|
||||||
|
|
@ -1,8 +1,14 @@
|
||||||
page_title: First steps with Docker
|
<!--[metadata]>
|
||||||
page_description: Common usage and commands
|
+++
|
||||||
page_keywords: Examples, Usage, basic commands, docker, documentation, examples
|
title = "Get started with containers"
|
||||||
|
description = "Common usage and commands"
|
||||||
|
keywords = ["Examples, Usage, basic commands, docker, documentation, examples"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_containers"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# First steps with Docker
|
# "Get started with containers
|
||||||
|
|
||||||
This guide assumes you have a working installation of Docker. To verify Docker is
|
This guide assumes you have a working installation of Docker. To verify Docker is
|
||||||
installed, use the following command:
|
installed, use the following command:
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Using certificates for repository client verification
|
<!--[metadata]>
|
||||||
page_description: How to set up and use certificates with a registry to verify access
|
+++
|
||||||
page_keywords: Usage, registry, repository, client, root, certificate, docker, apache, ssl, tls, documentation, examples, articles, tutorials
|
title = "Using certificates for repository client verification"
|
||||||
|
description = "How to set up and use certificates with a registry to verify access"
|
||||||
|
keywords = ["Usage, registry, repository, client, root, certificate, docker, apache, ssl, tls, documentation, examples, articles, tutorials"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_registry"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using certificates for repository client verification
|
# Using certificates for repository client verification
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Process management with CFEngine
|
<!--[metadata]>
|
||||||
page_description: Managing containerized processes with CFEngine
|
+++
|
||||||
page_keywords: cfengine, process, management, usage, docker, documentation
|
title = "Process management with CFEngine"
|
||||||
|
description = "Managing containerized processes with CFEngine"
|
||||||
|
keywords = ["cfengine, process, management, usage, docker, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_third_party"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Process management with CFEngine
|
# Process management with CFEngine
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Using Chef
|
<!--[metadata]>
|
||||||
page_description: Installation and using Docker via Chef
|
+++
|
||||||
page_keywords: chef, installation, usage, docker, documentation
|
title = "Using Chef"
|
||||||
|
description = "Installation and using Docker via Chef"
|
||||||
|
keywords = ["chef, installation, usage, docker, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_third_party"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using Chef
|
# Using Chef
|
||||||
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Configuring and running Docker
|
<!--[metadata]>
|
||||||
page_description: Configuring and running the Docker daemon on various distributions
|
+++
|
||||||
page_keywords: docker, daemon, configuration, running, process managers
|
title = "Configuring and running Docker"
|
||||||
|
description = "Configuring and running the Docker daemon on various distributions"
|
||||||
|
keywords = ["docker, daemon, configuration, running, process managers"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 3
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Configuring and running Docker on various distributions
|
# Configuring and running Docker on various distributions
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Best practices for writing Dockerfiles
|
<!--[metadata]>
|
||||||
page_description: Hints, tips and guidelines for writing clean, reliable Dockerfiles
|
+++
|
||||||
page_keywords: Examples, Usage, base image, docker, documentation, dockerfile, best practices, hub, official repo
|
title = "Best practices for writing Dockerfiles"
|
||||||
|
description = "Hints, tips and guidelines for writing clean, reliable Dockerfiles"
|
||||||
|
keywords = ["Examples, Usage, base image, docker, documentation, dockerfile, best practices, hub, official repo"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_images"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Best practices for writing Dockerfiles
|
# Best practices for writing Dockerfiles
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: PowerShell DSC Usage
|
<!--[metadata]>
|
||||||
page_description: Using DSC to configure a new Docker host
|
+++
|
||||||
page_keywords: powershell, dsc, installation, usage, docker, documentation
|
title = "PowerShell DSC Usage"
|
||||||
|
description = "Using DSC to configure a new Docker host"
|
||||||
|
keywords = ["powershell, dsc, installation, usage, docker, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_win_osx"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using PowerShell DSC
|
# Using PowerShell DSC
|
||||||
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Automatically start containers
|
<!--[metadata]>
|
||||||
page_description: How to generate scripts for upstart, systemd, etc.
|
+++
|
||||||
page_keywords: systemd, upstart, supervisor, docker, documentation, host integration
|
title = "Automatically start containers"
|
||||||
|
description = "How to generate scripts for upstart, systemd, etc."
|
||||||
|
keywords = ["systemd, upstart, supervisor, docker, documentation, host integration"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_containers"
|
||||||
|
weight = 99
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Automatically start containers
|
# Automatically start containers
|
||||||
|
|
||||||
|
|
@ -1,8 +1,15 @@
|
||||||
page_title: Protecting the Docker daemon socket with HTTPS
|
<!--[metadata]>
|
||||||
page_description: How to setup and run Docker with HTTPS
|
+++
|
||||||
page_keywords: docker, docs, article, example, https, daemon, tls, ca, certificate
|
title = "Protect the Docker daemon socket"
|
||||||
|
description = "How to setup and run Docker with HTTPS"
|
||||||
|
keywords = ["docker, docs, article, example, https, daemon, tls, ca, certificate"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 5
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Protecting the Docker daemon socket with HTTPS
|
# Protect the Docker daemon socket
|
||||||
|
|
||||||
By default, Docker runs via a non-networked Unix socket. It can also
|
By default, Docker runs via a non-networked Unix socket. It can also
|
||||||
optionally communicate using a HTTP socket.
|
optionally communicate using a HTTP socket.
|
||||||
|
|
@ -1,10 +1,16 @@
|
||||||
page_title: Network configuration
|
<!--[metadata]>
|
||||||
page_description: Docker networking
|
+++
|
||||||
page_keywords: network, networking, bridge, docker, documentation
|
title = "Network configuration"
|
||||||
|
description = "Docker networking"
|
||||||
|
keywords = ["network, networking, bridge, docker, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent= "smn_administrate"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
|
|
||||||
## TL;DR
|
## Summary
|
||||||
|
|
||||||
When Docker starts, it creates a virtual interface named `docker0` on
|
When Docker starts, it creates a virtual interface named `docker0` on
|
||||||
the host machine. It randomly chooses an address and subnet from the
|
the host machine. It randomly chooses an address and subnet from the
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Using Puppet
|
<!--[metadata]>
|
||||||
page_description: Installing and using Puppet
|
+++
|
||||||
page_keywords: puppet, installation, usage, docker, documentation
|
title = "Using Puppet"
|
||||||
|
description = "Installing and using Puppet"
|
||||||
|
keywords = ["puppet, installation, usage, docker, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_third_party"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using Puppet
|
# Using Puppet
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Run a local registry mirror
|
<!--[metadata]>
|
||||||
page_description: How to set up and run a local registry mirror
|
+++
|
||||||
page_keywords: docker, registry, mirror, examples
|
title = "Run a local registry mirror"
|
||||||
|
description = "How to set up and run a local registry mirror"
|
||||||
|
keywords = ["docker, registry, mirror, examples"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_registry"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Run a local registry mirror
|
# Run a local registry mirror
|
||||||
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Runtime metrics
|
<!--[metadata]>
|
||||||
page_description: Measure the behavior of running containers
|
+++
|
||||||
page_keywords: docker, metrics, CPU, memory, disk, IO, run, runtime
|
title = "Runtime metrics"
|
||||||
|
description = "Measure the behavior of running containers"
|
||||||
|
keywords = ["docker, metrics, CPU, memory, disk, IO, run, runtime"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 4
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Runtime metrics
|
# Runtime metrics
|
||||||
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Docker security
|
<!--[metadata]>
|
||||||
page_description: Review of the Docker Daemon attack surface
|
+++
|
||||||
page_keywords: Docker, Docker documentation, security
|
title = "Docker security"
|
||||||
|
description = "Review of the Docker Daemon attack surface"
|
||||||
|
keywords = ["Docker, Docker documentation, security"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 2
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Docker security
|
# Docker security
|
||||||
|
|
||||||
|
|
@ -1,8 +1,15 @@
|
||||||
page_title: Controlling and configuring Docker using systemd
|
<!--[metadata]>
|
||||||
page_description: Controlling and configuring Docker using systemd
|
+++
|
||||||
page_keywords: docker, daemon, systemd, configuration
|
title = "Control and configure Docker with systemd"
|
||||||
|
description = "Controlling and configuring Docker using systemd"
|
||||||
|
keywords = ["docker, daemon, systemd, configuration"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_administrate"
|
||||||
|
weight = 7
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Controlling and configuring Docker using systemd
|
# Control and configure Docker with systemd
|
||||||
|
|
||||||
Many Linux distributions use systemd to start the Docker daemon. This document
|
Many Linux distributions use systemd to start the Docker daemon. This document
|
||||||
shows a few examples of how to customise Docker's settings.
|
shows a few examples of how to customise Docker's settings.
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Using Supervisor with Docker
|
<!--[metadata]>
|
||||||
page_description: How to use Supervisor process management with Docker
|
+++
|
||||||
page_keywords: docker, supervisor, process management
|
title = "Using Supervisor with Docker"
|
||||||
|
description = "How to use Supervisor process management with Docker"
|
||||||
|
keywords = ["docker, supervisor, process management"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_third_party"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using Supervisor with Docker
|
# Using Supervisor with Docker
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Accounts on Docker Hub
|
<!--[metadata]>
|
||||||
page_description: Docker Hub accounts
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation
|
title = "Accounts on Docker Hub"
|
||||||
|
description = "Docker Hub accounts"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Accounts on Docker Hub
|
# Accounts on Docker Hub
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Automated Builds on Docker Hub
|
<!--[metadata]>
|
||||||
page_description: Docker Hub Automated Builds
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, trusted, builds, trusted builds, automated builds
|
title = "Automated Builds on Docker Hub"
|
||||||
|
description = "Docker Hub Automated Builds"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, trusted, builds, trusted builds, automated builds"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Automated Builds on Docker Hub
|
# Automated Builds on Docker Hub
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: The Docker Hub Registry help
|
<!--[metadata]>
|
||||||
page_description: The Docker Registry help documentation home
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation
|
title = "The Docker Hub Registry help"
|
||||||
|
description = "The Docker Registry help documentation home"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# The Docker Hub Registry help
|
# The Docker Hub Registry help
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: The Docker Hub help
|
<!--[metadata]>
|
||||||
page_description: The Docker Help documentation home
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, accounts, organizations, repositories, groups
|
title = "The Docker Hub help"
|
||||||
|
description = "The Docker Help documentation home"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, documentation, accounts, organizations, repositories, groups"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Docker Hub
|
# Docker Hub
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Official Repositories on Docker Hub
|
<!--[metadata]>
|
||||||
page_description: Guidelines for Official Repositories on Docker Hub
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, official, image, documentation
|
title = "Official Repositories on Docker Hub"
|
||||||
|
description = "Guidelines for Official Repositories on Docker Hub"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, docs, official, image, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Official Repositories on Docker Hub
|
# Official Repositories on Docker Hub
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Your Repositories on Docker Hub
|
<!--[metadata]>
|
||||||
page_description: Your Repositories on Docker Hub
|
+++
|
||||||
page_keywords: Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, webhooks, docs, documentation
|
title = "Your Repositories on Docker Hub"
|
||||||
|
description = "Your Repositories on Docker Hub"
|
||||||
|
keywords = ["Docker, docker, registry, accounts, plans, Dockerfile, Docker Hub, webhooks, docs, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Your Hub repositories
|
# Your Hub repositories
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Docker Hub user guide
|
<!--[metadata]>
|
||||||
page_description: Docker Hub user guide
|
+++
|
||||||
page_keywords: Docker, docker, registry, Docker Hub, docs, documentation
|
title = "Docker Hub user guide"
|
||||||
|
description = "Docker Hub user guide"
|
||||||
|
keywords = ["Docker, docker, registry, Docker Hub, docs, documentation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_pubhub"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Using the Docker Hub
|
# Using the Docker Hub
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing an apt-cacher-ng service
|
<!--[metadata]>
|
||||||
page_description: Installing and running an apt-cacher-ng service
|
+++
|
||||||
page_keywords: docker, example, package installation, networking, debian, ubuntu
|
title = "Dockerizing an apt-cacher-ng service"
|
||||||
|
description = "Installing and running an apt-cacher-ng service"
|
||||||
|
keywords = ["docker, example, package installation, networking, debian, ubuntu"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_applied"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing an apt-cacher-ng service
|
# Dockerizing an apt-cacher-ng service
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing a CouchDB service
|
<!--[metadata]>
|
||||||
page_description: Sharing data between 2 couchdb databases
|
+++
|
||||||
page_keywords: docker, example, package installation, networking, couchdb, data volumes
|
title = "Dockerizing a CouchDB service"
|
||||||
|
description = "Sharing data between 2 couchdb databases"
|
||||||
|
keywords = ["docker, example, package installation, networking, couchdb, data volumes"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_remoteapi"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing a CouchDB service
|
# Dockerizing a CouchDB service
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing MongoDB
|
<!--[metadata]>
|
||||||
page_description: Creating a Docker image with MongoDB pre-installed using a Dockerfile and sharing the image on Docker Hub
|
+++
|
||||||
page_keywords: docker, dockerize, dockerizing, article, example, docker.io, platform, package, installation, networking, mongodb, containers, images, image, sharing, dockerfile, build, auto-building, virtualization, framework
|
title = "Dockerizing MongoDB"
|
||||||
|
description = "Creating a Docker image with MongoDB pre-installed using a Dockerfile and sharing the image on Docker Hub"
|
||||||
|
keywords = ["docker, dockerize, dockerizing, article, example, docker.io, platform, package, installation, networking, mongodb, containers, images, image, sharing, dockerfile, build, auto-building, virtualization, framework"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_applied"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing MongoDB
|
# Dockerizing MongoDB
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing a Node.js web app
|
<!--[metadata]>
|
||||||
page_description: Installing and running a Node.js app with Docker
|
+++
|
||||||
page_keywords: docker, example, package installation, node, centos
|
title = "Dockerizing a Node.js web app"
|
||||||
|
description = "Installing and running a Node.js app with Docker"
|
||||||
|
keywords = ["docker, example, package installation, node, centos"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_applied"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing a Node.js web app
|
# Dockerizing a Node.js web app
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing PostgreSQL
|
<!--[metadata]>
|
||||||
page_description: Running and installing a PostgreSQL service
|
+++
|
||||||
page_keywords: docker, example, package installation, postgresql
|
title = "Dockerizing PostgreSQL"
|
||||||
|
description = "Running and installing a PostgreSQL service"
|
||||||
|
keywords = ["docker, example, package installation, postgresql"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_applied"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing PostgreSQL
|
# Dockerizing PostgreSQL
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing a Redis service
|
<!--[metadata]>
|
||||||
page_description: Installing and running an redis service
|
+++
|
||||||
page_keywords: docker, example, package installation, networking, redis
|
title = "Dockerizing a Redis service"
|
||||||
|
description = "Installing and running an redis service"
|
||||||
|
keywords = ["docker, example, package installation, networking, redis"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_applied"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing a Redis service
|
# Dockerizing a Redis service
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing a Riak service
|
<!--[metadata]>
|
||||||
page_description: Build a Docker image with Riak pre-installed
|
+++
|
||||||
page_keywords: docker, example, package installation, networking, riak
|
title = "Dockerizing a Riak service"
|
||||||
|
description = "Build a Docker image with Riak pre-installed"
|
||||||
|
keywords = ["docker, example, package installation, networking, riak"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_apps_servs"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing a Riak service
|
# Dockerizing a Riak service
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Dockerizing an SSH service
|
<!--[metadata]>
|
||||||
page_description: Installing and running an SSHd service on Docker
|
+++
|
||||||
page_keywords: docker, example, package installation, networking
|
title = "Dockerizing an SSH service"
|
||||||
|
description = "Installing and running an SSHd service on Docker"
|
||||||
|
keywords = ["docker, example, package installation, networking"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_apps_servs"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Dockerizing an SSH daemon service
|
# Dockerizing an SSH daemon service
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on openSUSE and SUSE Linux Enterprise
|
<!--[metadata]>
|
||||||
page_description: Installation instructions for Docker on openSUSE and on SUSE Linux Enterprise.
|
+++
|
||||||
page_keywords: openSUSE, SUSE Linux Enterprise, SUSE, SLE, docker, documentation, installation
|
title = "Installation on openSUSE and SUSE Linux Enterprise"
|
||||||
|
description = "Installation instructions for Docker on openSUSE and on SUSE Linux Enterprise."
|
||||||
|
keywords = ["openSUSE, SUSE Linux Enterprise, SUSE, SLE, docker, documentation, installation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# openSUSE
|
# openSUSE
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on Amazon EC2
|
<!--[metadata]>
|
||||||
page_description: Installation instructions for Docker on Amazon EC2.
|
+++
|
||||||
page_keywords: amazon ec2, virtualization, cloud, docker, documentation, installation
|
title = "Amazon EC2 Installation"
|
||||||
|
description = "Installation instructions for Docker on Amazon EC2."
|
||||||
|
keywords = ["amazon ec2, virtualization, cloud, docker, documentation, installation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_cloud"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
## Amazon EC2
|
## Amazon EC2
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on Arch Linux
|
<!--[metadata]>
|
||||||
page_description: Installation instructions for Docker on ArchLinux.
|
+++
|
||||||
page_keywords: arch linux, virtualization, docker, documentation, installation
|
title = "Installation on Arch Linux"
|
||||||
|
description = "Installation instructions for Docker on ArchLinux."
|
||||||
|
keywords = ["arch linux, virtualization, docker, documentation, installation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Arch Linux
|
# Arch Linux
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on Microsoft Azure platform
|
<!--[metadata]>
|
||||||
page_description: Instructions for creating a Docker-ready virtual machine on Microsoft Azure cloud platform.
|
+++
|
||||||
page_keywords: Docker, Docker documentation, installation, azure, microsoft
|
title = "Installation on Microsoft Azure platform"
|
||||||
|
description = "Instructions for creating a Docker-ready virtual machine on Microsoft Azure cloud platform."
|
||||||
|
keywords = ["Docker, Docker documentation, installation, azure, microsoft"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_cloud"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Microsoft Azure
|
# Microsoft Azure
|
||||||
|
|
||||||
|
|
@ -1,6 +1,13 @@
|
||||||
page_title: Installation from binaries
|
<!--[metadata]>
|
||||||
page_description: Instructions for installing Docker as a binary. Mostly meant for hackers who want to try out Docker on a variety of environments.
|
+++
|
||||||
page_keywords: binaries, installation, docker, documentation, linux
|
title = "Installation from binaries"
|
||||||
|
description = "Instructions for installing Docker as a binary. Mostly meant for hackers who want to try out Docker on a variety of environments."
|
||||||
|
keywords = ["binaries, installation, docker, documentation, linux"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_engine"
|
||||||
|
weight = 110
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on CentOS
|
<!--[metadata]>
|
||||||
page_description: Instructions for installing Docker on CentOS
|
+++
|
||||||
page_keywords: Docker, Docker documentation, requirements, linux, centos, epel, docker.io, docker-io
|
title = "Installation on CentOS"
|
||||||
|
description = "Instructions for installing Docker on CentOS"
|
||||||
|
keywords = ["Docker, Docker documentation, requirements, linux, centos, epel, docker.io, docker-io"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# CentOS
|
# CentOS
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on CRUX Linux
|
<!--[metadata]>
|
||||||
page_description: Docker installation on CRUX Linux.
|
+++
|
||||||
page_keywords: crux linux, virtualization, Docker, documentation, installation
|
title = "Installation on CRUX Linux"
|
||||||
|
description = "Docker installation on CRUX Linux."
|
||||||
|
keywords = ["crux linux, virtualization, Docker, documentation, installation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# CRUX Linux
|
# CRUX Linux
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on Debian
|
<!--[metadata]>
|
||||||
page_description: Instructions for installing Docker on Debian.
|
+++
|
||||||
page_keywords: Docker, Docker documentation, installation, debian
|
title = "Installation on Debian"
|
||||||
|
description = "Instructions for installing Docker on Debian."
|
||||||
|
keywords = ["Docker, Docker documentation, installation, debian"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Debian
|
# Debian
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on Fedora
|
<!--[metadata]>
|
||||||
page_description: Instructions for installing Docker on Fedora.
|
+++
|
||||||
page_keywords: Docker, Docker documentation, Fedora, requirements, linux
|
title = "Installation on Fedora"
|
||||||
|
description = "Instructions for installing Docker on Fedora."
|
||||||
|
keywords = ["Docker, Docker documentation, Fedora, requirements, linux"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# Fedora
|
# Fedora
|
||||||
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
page_title: Installation on FrugalWare
|
<!--[metadata]>
|
||||||
page_description: Installation instructions for Docker on FrugalWare.
|
+++
|
||||||
page_keywords: frugalware linux, virtualization, docker, documentation, installation
|
title = "Installation on FrugalWare"
|
||||||
|
description = "Installation instructions for Docker on FrugalWare."
|
||||||
|
keywords = ["frugalware linux, virtualization, docker, documentation, installation"]
|
||||||
|
[menu.main]
|
||||||
|
parent = "smn_linux"
|
||||||
|
+++
|
||||||
|
<![end-metadata]-->
|
||||||
|
|
||||||
# FrugalWare
|
# FrugalWare
|
||||||
|
|
||||||