mirror of https://github.com/docker/cli.git
When splitting the docker CLI from the moby/moby repository, the dockerd
documentation and man-pages were moved to the CLI repository. This was a
bit of a bad choice, as now the documentation and code lived in separate
repositories, but when the CLI and dockerd packages were split, the man
page for dockerd ended up in the CLI package.
Starting with [moby@d6e9b5f], the dockerd man-page has been reintegrated
into the moby repository, so we cab remove it from the CLI repository.
[moby@d6e9b5f]:
|
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| Dockerfile.5.md | ||
| README.md | ||
| docker-build.1.md | ||
| docker-config-json.5.md | ||
| docker-run.1.md | ||
| docker.1.md | ||
| generate.go | ||
| go.mod | ||
| tools.go | ||
README.md
Docker Documentation
This directory contains scripts for generating the man pages. Many of the man
pages are generated directly from the spf13/cobra Command definition. Some
legacy pages are still generated from the markdown files in this directory.
Do not edit the man pages in the man1 directory. Instead, update the
Cobra command or amend the Markdown files for legacy pages.
Generate the man pages
From within the project root directory run:
$ make -f docker.Makefile manpages