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

docs: Clarify the coala in a container docs #470

Merged
merged 1 commit into from
Oct 24, 2017
Merged

docs: Clarify the coala in a container docs #470

merged 1 commit into from
Oct 24, 2017

Conversation

acashmkj
Copy link
Contributor

Added explanation for Docker.

Closes #30

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

Copy link
Member

@IpshitaC IpshitaC left a comment

Choose a reason for hiding this comment

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

Hi! Could you please change the commit message to add a shortlog as a short description of your change as well?
Marking this wip.

@acashmkj
Copy link
Contributor Author

@IpshitaC please review

Copy link
Member

@khanchi97 khanchi97 left a comment

Choose a reason for hiding this comment

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

Changes LGTM 👍

dependencies, and ship it all out as a single package.

With the help of containers, the developer can rest assured that
the application will run on other machine regardless of any
Copy link
Member

Choose a reason for hiding this comment

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

either

  1. on another machine
    or
  2. on other machines

Copy link
Member

Choose a reason for hiding this comment

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

Would prefer 2nd 👍

dependencies, and ship it all out as a single package.

With the help of containers, the developer can rest assured that
the application will run on other machine regardless of any
Copy link
Member

Choose a reason for hiding this comment

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

Would prefer 2nd 👍


Unlike a virtual machine, rather than creating a whole virtual operating
system, Docker allows applications to use the same kernel as the system
that they're running on and only requires applications be shipped
Copy link
Member

Choose a reason for hiding this comment

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

be --> being

Whats is a Docker Image and how is it different from a container ?
------------------------------------------------------------------

Image is an immutable file and a running instance of an image is called a
Copy link
Member

Choose a reason for hiding this comment

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

--> An image

with things not already running on the host computer. This gives a
significant performance boost and reduces the size of the application.

Whats is a Docker Image and how is it different from a container ?
Copy link
Member

Choose a reason for hiding this comment

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

--> Whats

with things not already running on the host computer. This gives a
significant performance boost and reduces the size of the application.

Whats is a Docker Image and how is it different from a container ?
Copy link
Member

Choose a reason for hiding this comment

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

Redundant space before question mark


With the help of containers, the developer can rest assured that
the application will run on other machine regardless of any
customized settings that machine might have that could differ from the
Copy link
Member

Choose a reason for hiding this comment

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

maybe "that" --> "his" (the machine of the developer)

Image is an immutable file and a running instance of an image is called a
container. Images are composed of layers of other images. Images are created
when we run ``build`` command and conatiners are formed from these images
when we use ``run`` command. There can be many containers for the
Copy link
Member

Choose a reason for hiding this comment

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

the run command

-----------------

Docker installation guide for various operating systems can be found
`here <https://docs.docker.com/engine/installation/>`__.
Copy link
Member

Choose a reason for hiding this comment

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

Redundant leading spaces

when we use ``run`` command. There can be many containers for the
same image.

For more imformation about Docker see the
Copy link
Member

Choose a reason for hiding this comment

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

Again:
imnformation

@@ -1,3 +1,44 @@
What is Docker ?
Copy link
Member

Choose a reason for hiding this comment

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

redundant space before question mark

@Makman2
Copy link
Member

Makman2 commented Oct 23, 2017

unack 1bb2d15

@acashmkj
Copy link
Contributor Author

@Makman2 @IpshitaC please review

significant performance boost and reduces the size of the application.

What is a Docker Image and how is it different from a container?
------------------------------------------------------------------
Copy link
Member

Choose a reason for hiding this comment

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

dashes not aligned to title :) (two dashes too much)

------------------------------------------------------------------

An image is an immutable file which contains required binaries and libraries
needed to build a container and a running instance of an image is called
Copy link
Member

Choose a reason for hiding this comment

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

maybe
build --> make
to not confuse it with the build command of docker below.

Copy link
Member

Choose a reason for hiding this comment

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

or maybe just omit the part:
... needed to build a container and a running ...

@@ -33,6 +72,9 @@ on your code with a ``.gitlab-ci.yml``, like this:
For more information about GitLab CI configuration, consult the
`official documentation <https://docs.gitlab.com/ce/ci/>`__.

Downloading Docker images and pushing images over low bandwidth connections
is very slow.
Copy link
Member

Choose a reason for hiding this comment

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

Okay my bad, it doesn't fit here nicely as well :3

However, I would actually rephrase it, to something like:

Docker images are usually very large. Downloading or pushing them over low bandwidth connections can be very slow.

What do you say? :)

And maybe we put it inside a note:: back into ""What is a docker image and how is it different from a container?"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Makman2 yes I think we should put it back in What is a docker image section

@acashmkj
Copy link
Contributor Author

@Makman2 @IpshitaC please review

.. note::

Downloading Docker images and pushing images over low bandwidth connections
is very slow.
Copy link
Member

Choose a reason for hiding this comment

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

What about

Docker images are usually very large. Downloading or pushing them over low bandwidth connections can be very slow.

instead? :)
your choice 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree with you. Done necessary changes

Added information about Docker

Closes #30
@acashmkj
Copy link
Contributor Author

@Makman2 please review

@Makman2
Copy link
Member

Makman2 commented Oct 24, 2017

ack 5839e8d

@Makman2
Copy link
Member

Makman2 commented Oct 24, 2017

@rultor merge

@rultor
Copy link

rultor commented Oct 24, 2017

@rultor merge

@Makman2 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 5839e8d into coala:master Oct 24, 2017
@rultor
Copy link

rultor commented Oct 24, 2017

@rultor merge

@Makman2 Done! FYI, the full log is here (took me 2min)

@jayvdb
Copy link
Member

jayvdb commented Nov 2, 2017

See #482

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.

docs: Clarify the coala in a container docs
8 participants