Dont run man generation as part of test-unit.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-06-22 10:12:18 -04:00
parent 25e9b06ac0
commit 47cca88c8c
5 changed files with 23 additions and 10 deletions

View File

@ -63,27 +63,35 @@ func runCreate(dockerCli *client.DockerCli, opts createOptions) error {
}
var createDescription = `
Creates a new volume that containers can consume and store data in. If a name is not specified, Docker generates a random name. You create a volume and then configure the container to use it, for example:
Creates a new volume that containers can consume and store data in. If a name
is not specified, Docker generates a random name. You create a volume and then
configure the container to use it, for example:
$ docker volume create --name hello
hello
$ docker run -d -v hello:/world busybox ls /world
The mount is created inside the container's **/src** directory. Docker doesn't not support relative paths for mount points inside the container.
The mount is created inside the container's **/src** directory. Docker doesn't
not support relative paths for mount points inside the container.
Multiple containers can use the same volume in the same time period. This is useful if two containers need access to shared data. For example, if one container writes and the other reads the data.
Multiple containers can use the same volume in the same time period. This is
useful if two containers need access to shared data. For example, if one
container writes and the other reads the data.
## Driver specific options
Some volume drivers may take options to customize the volume creation. Use the **-o** or **--opt** flags to pass driver options:
Some volume drivers may take options to customize the volume creation. Use the
**-o** or **--opt** flags to pass driver options:
$ docker volume create --driver fake --opt tardis=blue --opt timey=wimey
These options are passed directly to the volume driver. Options for different volume drivers may do different things (or nothing at all).
These options are passed directly to the volume driver. Options for different
volume drivers may do different things (or nothing at all).
The built-in **local** driver on Windows does not support any options.
The built-in **local** driver on Linux accepts options similar to the linux **mount** command:
The built-in **local** driver on Linux accepts options similar to the linux
**mount** command:
$ docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000

View File

@ -49,7 +49,7 @@ func runInspect(dockerCli *client.DockerCli, opts inspectOptions) error {
var inspectDescription = `
Returns information about one or more volumes. By default, this command renders
all results in a JSON array. You can specify an alternate format to execute a
given template is executed for each result. Go's http://golang.org/pkg/text/template/
given template is executed for each result. Go's https://golang.org/pkg/text/template/
package describes all the details of the format.
`

View File

@ -88,8 +88,12 @@ func runList(dockerCli *client.DockerCli, opts listOptions) error {
var listDescription = `
Lists all the volumes Docker knows about. You can filter using the **-f** or **--filter** flag. The filtering format is a **key=value** pair. To specify more than one filter, pass multiple flags (for example, **--filter "foo=bar" --filter "bif=baz"**)
Lists all the volumes Docker knows about. You can filter using the **-f** or
**--filter** flag. The filtering format is a **key=value** pair. To specify
more than one filter, pass multiple flags (for example,
**--filter "foo=bar" --filter "bif=baz"**)
There is a single supported filter **dangling=value** which takes a boolean of **true** or **false**.
There is a single supported filter **dangling=value** which takes a boolean of
**true** or **false**.
`

View File

@ -32,6 +32,7 @@ bundle_test_unit() {
"${BUILDFLAGS[@]}" $TEST_PATH \
| grep github.com/docker/docker \
| grep -v github.com/docker/docker/vendor \
| grep -v github.com/docker/docker/man \
| grep -v github.com/docker/docker/integration-cli)
go test $COVER $GCCGOFLAGS -ldflags "$LDFLAGS" "${BUILDFLAGS[@]}" $TESTFLAGS $pkg_list
}

2
man/glide.lock generated
View File

@ -48,5 +48,5 @@ imports:
repo: https://github.com/dnephin/cobra
subpackages:
- doc
version: dc45219961f875acff5ee07ed263e5dc19e0c5f1
version: v1.3
devImports: []