-
Notifications
You must be signed in to change notification settings - Fork 178
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
Setup: Add docker alias to docker docs #359
Conversation
Thanks for your contribution! Reviewing pull requests take really a lot of time and we're all volunteers. Please make sure you go through the following check list and complete them all before pinging someone for a review.
As you learn things over your Pull Request please help others on the chat and on PRs to get their stuff right as well! |
does it work with the linebreak? |
You have to put a link to the issue not to the docs. |
97a28af
to
af03241
Compare
This needs to add a new paragraph of text and new code block |
af03241
to
c325381
Compare
c325381
to
c2326d7
Compare
@@ -11,6 +11,13 @@ on your code in the working directory, like this: | |||
|
|||
docker run --volume=$(pwd):/app --workdir=/app coala/base coala-ci | |||
|
|||
Or you cand use only coala cammand with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
:: | ||
|
||
alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base | ||
coala" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rather keep it in one line?
c2326d7
to
4c40ef9
Compare
|
||
:: | ||
|
||
alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is longer than allowed. (80 > 79)
LineLengthBear, severity NORMAL, section docs
.
4c40ef9
to
d06f5fc
Compare
@@ -11,6 +11,12 @@ on your code in the working directory, like this: | |||
|
|||
docker run --volume=$(pwd):/app --workdir=/app coala/base coala-ci | |||
|
|||
Or you can use only coala cammand with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also the sentence doesn't sound grammarly complete
|
||
:: | ||
|
||
alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing indentation
@@ -11,6 +11,12 @@ on your code in the working directory, like this: | |||
|
|||
docker run --volume=$(pwd):/app --workdir=/app coala/base coala-ci | |||
|
|||
Or you can use only coala cammand with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: cammand
--> command
It should also be shortly mentioned what an alias is and to what kind of shells this applies to.
d06f5fc
to
b11abb3
Compare
b11abb3
to
16657ae
Compare
@@ -11,6 +11,16 @@ on your code in the working directory, like this: | |||
|
|||
docker run --volume=$(pwd):/app --workdir=/app coala/base coala-ci | |||
|
|||
In some computer operating systems and programming languages, | |||
an alias is an alternative and usually easier-to-understand or | |||
more significant name for a defined data object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify which shell alias syntax you are using here(I think it's bash syntax).
an alias is an alternative and usually easier-to-understand or | ||
more significant name for a defined data object. | ||
|
||
You can use only coala command with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is rather confusing. I think what you meant to say was "To run coala from docker using only the coala
command, you can use:"
Its added a new line with a alias command. Closes coala#358
16657ae
to
374d2a7
Compare
|
||
:: | ||
|
||
alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not indented correctly. See other use of ::
in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, do not use backticks around pwd
. Use $(pwd)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually it's important that you don't use $(pwd)
because if you do, it'll be evaluated when you set the alias and not when you execute it!
:: | ||
|
||
alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have a note or so that the alias won't work nicely when using -c
or -F
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
8 similar comments
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again! |
closing due to high inactivity |
Its added a new line with a alias comand.
Closes http:https://docs.coala.io/en/latest/Users/Docker_Image.html