Update commandline yaml docs#7753
Conversation
|
Deploy preview for docsdocker ready! Built with commit c5c166a |
|
@seemethere The other thing we need to look at, is do we need to create a fork of the docker/cli repo? If so, we need to write down those instructions too. What do we need to do if we need to fix broken links? what do we do to make sure this is merged into docs.docker.com? |
|
@seemethere Also, how we do generate this for a specific release? the instructions aren't here on how to do that. |
|
@ahh-docker No fork would need to be created, for different releases you would just checkout the tag (i.e. instead of For a specific release this could be an automated pull request that gets triggered upon a successful release. Currently the release team doesn't have the bandwidth to be able to do that but we can put it on our issue tracker to get done most likely in Q1. |
I think this should be using the |
6a8ab2c to
35fffce
Compare
|
Updated to only reflect changes in the |
| short: Run a command in a running container | ||
| long: Run a command in a running container | ||
| usage: docker container exec [OPTIONS] CONTAINER COMMAND [ARG...] | ||
| usage: docker container exec [OPTIONS] CONTAINER COMMAND [ARG...] [flags] |
There was a problem hiding this comment.
Hm.. interesting that it's adding the [flags] here. That was fixed on the CLI usage output in docker/cli#1069, but looks like a change may be needed for the code that generates the YAML 🤔
There was a problem hiding this comment.
So @thaJeztah would you say these yaml docs are good to merge without the fix for now? Would like to get a resolution on this ASAP.
There was a problem hiding this comment.
Let me try getting them merged; if you can then regenerate from the 18.09 release branch (instead of the tag), then it should be fixed. DM'ing some people on Slack now 😅
There was a problem hiding this comment.
@seemethere docker/cli#1540 was merged, so if you can update using the 18.09 release branch, we should be good to go 🤗
ahh-docker
left a comment
There was a problem hiding this comment.
LGTM. We need to move the instructions somewhere other than the PR. I'm going to copy them to docs-private/wiki.
thaJeztah
left a comment
There was a problem hiding this comment.
can you update from the 18.09 branch, now that the fix was merged? #7753 (comment)
|
@seemethere I tried to do this myself, and ran into some issues: |
|
@ahh-docker Have updated the original OP with instructions without error. There was a leftover |
Updates the commandline yaml docs to the latest HEAD of `docker/cli@2d692aedb` Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
35fffce to
c5c166a
Compare
|
@thaJeztah have updated my PR to account for docs without the |
|
@seemethere ready to merge? If so, I'll go ahead and merge it. LGTM. |
Proposed changes
Updates the commandline yaml docs to the latest HEAD of
https://github.com/docker/cli/releases/tag/v18.09.0
Steps to do:
docker/cliyamldocsmake -C ~/go/src/github.com/docker/cli -f docker.Makefile yamldocsyamldocsover to the_data/engine-clidirectoryThis could be automated to be done on any release, or else we could make this a separate thing that can be updated automatically out of band from
docker.github.io@ahh-docker We should also probably cut a branch for
18.09and do this process for that as well.Unreleased project version (optional)
Related issues (optional)
Relates to #7358