Skip to content

Update sample systemd for container - #10653

Closed
dlintw wants to merge 1 commit into
moby:masterfrom
dlintw:patch-1
Closed

dlintw wants to merge 1 commit into
moby:masterfrom
dlintw:patch-1

Conversation

@dlintw

@dlintw dlintw commented Feb 9, 2015

Copy link
Copy Markdown
Contributor
  1. Docker require to run before redis container run.
  2. 'start' command can not accept more options like "run -e xx ..."

@jessfraz

jessfraz commented Feb 9, 2015

Copy link
Copy Markdown
Contributor

Can you please sign your commits following these rules:

https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work

The easiest way to do this is to amend the last commit:

$ git clone -b "patch-1" [email protected]:dlintw/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

1. Docker require to run before redis container run.
2. 'start' command can not accept more options like "run -e xx ..."

Signed-off-by: Daniel YC Lin <dlin.tw@gmail>
@SvenDowideit

Copy link
Copy Markdown
Contributor

nice change - yes please

LGTM once signed - @fredlf @jamtur01

@dlintw

dlintw commented Feb 10, 2015

Copy link
Copy Markdown
Contributor Author

I did the commands which you provides.

On Mon, Feb 9, 2015 at 4:26 PM, Jessie Frazelle [email protected]
wrote:

Can you please sign your commits following these rules:

https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work

The easiest way to do this is to amend the last commit:

$ git clone -b "patch-1" [email protected]:dlintw/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

—
Reply to this email directly or view it on GitHub
#10653 (comment).

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.

Code needs to be in backticks (`).

Also, this is not a complete sentence and does not make sense. What is not suggested?

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.

actually, no, this is a code-block, so not backticks

I think the # for more options ... comment could be rephrased as # if you need to pass options to the redis container (such as '--env'), then use 'docker run' instead of 'docker start'

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.

Oops, you're right, Sven. I missed that was a code block.

I'm +1 on @SvenDowideit 's rephrase. @dlintw Would you like us to carry this PR so we can fix the language for you?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've added another patch branch patch-systemd-doc-1

@fredlf

fredlf commented Feb 10, 2015

Copy link
Copy Markdown
Contributor

Docs not LGTM. They don't really make sense as written. Too much missing info.

@dlintw

dlintw commented Feb 10, 2015

Copy link
Copy Markdown
Contributor Author

Reply to @fredlf ,
According "docker start --help" provide more function for systemd.
"docker run --help" is provide more options for command line.

@SvenDowideit

Copy link
Copy Markdown
Contributor

I have integrated your change into #10723 - thankyou :)

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.

5 participants