Skip to content
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

Add a note that remote and Boot2Docker users should not type sudo #9836

Merged
merged 1 commit into from
Jan 14, 2015

Conversation

SvenDowideit
Copy link
Contributor

Docker-DCO-1.1-Signed-off-by: Sven Dowideit SvenDowideit@docker.com (github: SvenDowideit)

Closes #9808

and I've implemented a quick transclusion so {{ include "filename" }} will be replaced by that content.

@thaJeztah
Copy link
Member

Perhaps better to make a docs/includes or docs/partials directory to better distinguish files like this from actual documents?

Nit; rename the include file to include-no-remote-sudo.md (using dashes in stead of underscores)

@SvenDowideit
Copy link
Contributor Author

mm, @tianon @fredlf @jamtur01

I'm happy to change those details, but would like more opinions :)

@tianon
Copy link
Member

tianon commented Dec 30, 2014

I'm always +1 for hyphens instead of underscores, especially since some
fonts like to hide underscores and they require "shift" to type.

In case you also wanted my opinion on organization, then I think I'm +1 on
some kind of explicit directory for fragments too. :)

@jamtur01
Copy link
Contributor

What @tianon said.

@@ -0,0 +1,3 @@
> **Note:** if you are using a remote Docker daemon, such as Boot2Docker,
> then _do not_ type the `sudo` before the `docker` commands shown in the
> documentation examples.
Copy link
Contributor

Choose a reason for hiding this comment

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

documentation's examples.

@fredlf
Copy link
Contributor

fredlf commented Dec 31, 2014

Agreed re: hyphens preferable. Also agree with a docs/includes dir, which I think will make life easier. Otherwise, LGTM and nice job!

@crosbymichael
Copy link
Contributor

@SvenDowideit ping pong

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
@SvenDowideit
Copy link
Contributor Author

updated - @fredlf @jamtur01

@jamtur01
Copy link
Contributor

LGTM

@thaJeztah
Copy link
Member

Thanks Sven!

@crosbymichael
Copy link
Contributor

LGTM

crosbymichael added a commit that referenced this pull request Jan 14, 2015
Add a note that remote and Boot2Docker users should not type sudo
@crosbymichael crosbymichael merged commit 71ab2ef into moby:master Jan 14, 2015
SvenDowideit pushed a commit to SvenDowideit/docker that referenced this pull request Jan 27, 2015
Add a note that remote and Boot2Docker users should not type sudo
(cherry picked from commit 71ab2ef)

Docker-DCO-1.1-Signed-off-by: Michael Crosby <crosby.michael@gmail.com> (github: SvenDowideit)
@SvenDowideit SvenDowideit deleted the transcluded-no-sudo-note branch January 28, 2015 01:11
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.

use of sudo on docker commands in boot2docker
7 participants