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

Setup: Add docker alias to docker docs #359

Closed
wants to merge 1 commit into from

Conversation

alexandru-georgescu
Copy link

Its added a new line with a alias comand.

Closes http:https://docs.coala.io/en/latest/Users/Docker_Image.html

@gitmate-bot
Copy link

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!

@sims1253
Copy link
Member

does it work with the linebreak?

@andreidinu
Copy link
Contributor

You have to put a link to the issue not to the docs.

@jayvdb
Copy link
Member

jayvdb commented Dec 17, 2016

This needs to add a new paragraph of text and new code block

@@ -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:
Copy link
Member

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"
Copy link
Member

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?


::

alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala"

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.

@@ -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:
Copy link
Member

Choose a reason for hiding this comment

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

typo

Copy link
Member

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"
Copy link
Member

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:
Copy link
Member

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.

@@ -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.
Copy link
Member

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:
Copy link
Member

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

::

alias coala="docker run -ti -v \`pwd\`:/app --workdir=/app coala/base coala"
Copy link
Member

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.

Copy link
Member

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)

Copy link
Member

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"

Copy link
Member

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

@gitmate-bot
Copy link

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
@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@gitmate-bot
Copy link

Hey! This pull request hasn't been updated for a while :/ It would be nice if we could get this going again!

@Adrianzatreanu
Copy link
Contributor

closing due to high inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

9 participants