Skip to content

Replacing -d/--daemon with daemon command. Implementation of 'docker daemon' command#9255

Closed
shishir-a412ed wants to merge 2 commits intomoby:masterfrom
shishir-a412ed:PR-6055
Closed

Replacing -d/--daemon with daemon command. Implementation of 'docker daemon' command#9255
shishir-a412ed wants to merge 2 commits intomoby:masterfrom
shishir-a412ed:PR-6055

Conversation

@shishir-a412ed
Copy link
Copy Markdown
Contributor

Following up on PR #6055 which was initiated by Dan Walsh (rhatdan).

@icecrime
Copy link
Copy Markdown
Contributor

There seems to be something work with your PR considering the amount of commits and diffs it introduces (bad rebase perhaps?). Could you please fix it so we can pursue with implementation review?

Ping @shykes and add label UX.

@icecrime icecrime added the UX label Nov 20, 2014
…daemon' command

QE Reports that you can put lots of bogus options on the cli before the command
which are ignored if you specify a command. We should report a usage error
if a user does this.

I believe a better long term solution would be to remove the -d options and add a daemon command. This would make the handling of options the same for all use
cases.

Docker-DCO-1.1-Signed-off-by: Dan Walsh dwalsh@redhat.com (github: rhatdan)
Docker-DCO-1.1-Signed-off-by: Shishir Mahajan shishir.mahajan@redhat.com (github: shishir-a412ed)
@shishir-a412ed
Copy link
Copy Markdown
Contributor Author

@icecrime I have rebased the commit.

@icecrime
Copy link
Copy Markdown
Contributor

Thanks, there still are a few things wrong with the PR in itself: the DCO is wrong (missing <> around email addresses), and I can see a few unexpected diffs (i.e.: project/CONTRIBUTING.md, or vendor/MAINTAINERS).

But before getting into these details: @crosbymichael WDYT? I think it's interesting, but we shouldn't waste more contributors time if we have no intention to merge (avoiding another #6055).

@aidanhs
Copy link
Copy Markdown
Contributor

aidanhs commented Jan 26, 2015

It's a bit frustrating to be able to run docker --dns 1.2.3.4 run --dns 1.2.3.5 -it ubuntu:14.04 bash and have no indication that one of these will just silently not work.

(Edit: this is support of this PR)

@thaJeztah
Copy link
Copy Markdown
Member

I'm still in favor of this; it makes it much clearer which flags are meant for the daemon, and the output of help/usage on the command line will be a lot less messy.

@SvenDowideit
Copy link
Copy Markdown
Contributor

Docs LGTM, though I presume they might be a little out of date

@aidanhs
Copy link
Copy Markdown
Contributor

aidanhs commented Jan 27, 2015

Should -d really be changed to daemon in the changelog for old versions?

@shishir-a412ed
Copy link
Copy Markdown
Contributor Author

Closing this one.
docker daemon command implementation on this PR.
#10535

@shishir-a412ed shishir-a412ed deleted the PR-6055 branch October 5, 2015 21:00
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.

6 participants