Skip to content

Bring API docs inline with 1.3 - #8683

Merged
SvenDowideit merged 1 commit into
moby:masterfrom
cpuguy83:fix_api_docs
Nov 6, 2014
Merged

SvenDowideit merged 1 commit into
moby:masterfrom
cpuguy83:fix_api_docs

Conversation

@cpuguy83

Copy link
Copy Markdown
Member

No description provided.

@cpuguy83

Copy link
Copy Markdown
Member Author

cc @SvenDowideit @fredlf

@jamtur01

Copy link
Copy Markdown
Contributor

LGTM

@jamtur01

Copy link
Copy Markdown
Contributor

@cpuguy83 - quorum is easier if you ping all of the Docs maintainers. :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You still have a RestartPolicy in the json above, though now its in the HostConfig

@SvenDowideit

Copy link
Copy Markdown
Contributor

nice - merci much :) - we could fix up the RestartPolicy nit in another PR - i'm easy either way atm.

LGTM - @fredlf

@aluzzardi

Copy link
Copy Markdown
Member

ping @vieux @crosbymichael

Should we mention that passing the hostconfig on create is the recommended way and on start it's deprecated?

hostconfig on start won't work with clustering.

@cpuguy83

Copy link
Copy Markdown
Member Author

I reference all the "hostconfig" items over to the start command.
I realize this is a little jinky, but didn't want to duplicate the same thing.

However if we go ahead and deprecate the hostconfig on start, moving it to config and just removing it from start may be the way to go.

@aluzzardi

Copy link
Copy Markdown
Member

@cpuguy83: I'd go with the latter - let's see what @vieux thinks.

@fredlf

fredlf commented Oct 22, 2014

Copy link
Copy Markdown
Contributor

LGTM from me once Sven's comment is resolved.

@cpuguy83

Copy link
Copy Markdown
Member Author

Oh poo, the API was just bumped :(

@SvenDowideit

Copy link
Copy Markdown
Contributor

go on, update it and then Merge :)

@cpuguy83

Copy link
Copy Markdown
Member Author

Updated.

Added actual HostConfig configs to /containers/create as well.

For v1.16, removed HostConfig from /containers/<id>/start and added a deprecation notice in the What's new section... this is of course pending feedback from core.

@SvenDowideit

Copy link
Copy Markdown
Contributor

@cpuguy83 more rebasing :/

and by 'core' you mean @crosbymichael @vieux @unclejack @tiborvass @jfrazelle ...? :)

@cpuguy83

Copy link
Copy Markdown
Member Author

Rebased

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure how I missed that... Updated. Can you check to make sure it's correct?

@cpuguy83
cpuguy83 force-pushed the fix_api_docs branch 2 times, most recently from 6955721 to 910b116 Compare November 3, 2014 19:32
@jessfraz

jessfraz commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

LGTM

@SvenDowideit

Copy link
Copy Markdown
Contributor

@cpuguy83 can you please rebase one more time :(

@cpuguy83

cpuguy83 commented Nov 5, 2014

Copy link
Copy Markdown
Member Author

@SvenDowideit Done.

SvenDowideit added a commit that referenced this pull request Nov 6, 2014
Bring API docs inline with 1.3
@SvenDowideit
SvenDowideit merged commit 56261da into moby:master Nov 6, 2014
SvenDowideit added a commit to SvenDowideit/docker that referenced this pull request Nov 6, 2014
Bring API docs inline with 1.3
(cherry picked from commit 56261da)

Conflicts:
	docs/sources/reference/api/docker_remote_api_v1.16.md
cpuguy83 added a commit to cpuguy83/docker that referenced this pull request Dec 15, 2014
Fixes moby#9628
Slightly reverts moby#8683, HostConfig on start is _not_ deprecated.

Signed-off-by: Brian Goff <[email protected]>
crosbymichael pushed a commit to crosbymichael/docker that referenced this pull request Dec 15, 2014
Fixes moby#9628
Slightly reverts moby#8683, HostConfig on start is _not_ deprecated.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83
cpuguy83 deleted the fix_api_docs branch September 20, 2017 16:57
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.

7 participants