Skip to content

Update CLI reference yaml for 17.03.1 #2633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Update CLI reference yaml for 17.03.1 #2633

wants to merge 4 commits into from

Conversation

mdlinville
Copy link

How I did this:

  1. In docker/docker repo branch 17.03.x:

    make yaml-docs-gen

    The YAML files are saved to ./bundles/17.03.1-ce/yaml-docs-generator/docs/

  2. In docker/docker.github.io repo branch master, copied the contents of the above directory to _data/engine-cli`, added all changed files, and committed.

@@ -348,7 +348,6 @@ examples: |-
```

The following filter matches all containers that have exposed TCP port in the range of `8000-8080`:

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a bug. :( I will manually change it for now but we need to put the spaces back in the 17.03.x branch of docker/docker....

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiborvass the source file is correct. Maybe the YAML generator is eating the newlines?

If you are on a low bandwidth connection this may cause timeout issues and you may want to lower
this via the `--max-concurrent-uploads` daemon option. See the
[daemon documentation](dockerd.md) for more details.
long: "Use `docker push` to share your images to the [Docker Hub](https://hub.docker.com)\nregistry
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong syntax, I think....

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiborvass I don't see anything in the source file that is causing this. Why is the YAML generator not putting the |-?

long: |-
Creates a secret using standard input or from a file for the secret content. You must run this
command on a manager node.
long: "Creates a secret using standard input or from a file for the secret content.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong syntax, I think...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tiborvass I don't see anything in the source file that is causing this. Why is the YAML generator not putting the |-?

@@ -1,6 +1,6 @@
command: docker system
short: Manage Docker
long: Manage Docker
long: Manage docker.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this change was made...

For full details on using docker volume visit Docker's online documentation.

long: |-
Manage volumes. You can use subcommand to create, list, inspect, remove
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be s/subcommand/subcommands

@mdlinville
Copy link
Author

See moby/moby#32382

@mdlinville
Copy link
Author

Just pushed a second commit to manually address the mistakes in the YAML files this time.

uncompressed size. The \nactual amount of data that's pushed will be compressed
before sending, so the uploaded\n size will not be reflected by the progress bar.
\n\nRegistry credentials are managed by [docker login](login.md).\n\n### Concurrent
uploads\n\nBy default the Docker daemon will push five layers of an image at a time.\nIf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something that needs to be addressed in the YAML generator?

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one question, but LGTM

@@ -1,22 +1,8 @@
command: docker volume
short: Manage volumes
long: |2+

The **docker volume** command has subcommands for managing data volumes. A data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we remove this section deliberately?

@thaJeztah
Copy link
Member

This does not yet remove the --filter options, correct?

@mdlinville
Copy link
Author

You are right. I will generate this again and make a new PR.

@mdlinville mdlinville closed this Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants