-
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
docs: Clarify the coala in a container docs #470
Conversation
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.
Hi! Could you please change the commit message to add a shortlog as a short description of your change as well?
Marking this wip.
@IpshitaC please review |
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.
Changes LGTM 👍
Users/Docker_Image.rst
Outdated
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 |
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.
either
- on another machine
or - on other machines
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.
Would prefer 2nd 👍
Users/Docker_Image.rst
Outdated
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 |
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.
Would prefer 2nd 👍
Users/Docker_Image.rst
Outdated
|
||
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 |
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.
be --> being
Users/Docker_Image.rst
Outdated
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 |
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.
--> An image
Users/Docker_Image.rst
Outdated
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 ? |
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.
--> Whats
Users/Docker_Image.rst
Outdated
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 ? |
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.
Redundant space before question mark
Users/Docker_Image.rst
Outdated
|
||
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 |
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.
maybe "that" --> "his" (the machine of the developer)
Users/Docker_Image.rst
Outdated
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 |
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.
the run
command
Users/Docker_Image.rst
Outdated
----------------- | ||
|
||
Docker installation guide for various operating systems can be found | ||
`here <https://docs.docker.com/engine/installation/>`__. |
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.
Redundant leading spaces
Users/Docker_Image.rst
Outdated
when we use ``run`` command. There can be many containers for the | ||
same image. | ||
|
||
For more imformation about Docker see the |
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.
Again:
imnformation
Users/Docker_Image.rst
Outdated
@@ -1,3 +1,44 @@ | |||
What is Docker ? |
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.
redundant space before question mark
unack 1bb2d15 |
Users/Docker_Image.rst
Outdated
significant performance boost and reduces the size of the application. | ||
|
||
What is a Docker Image and how is it different from a container? | ||
------------------------------------------------------------------ |
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.
dashes not aligned to title :) (two dashes too much)
Users/Docker_Image.rst
Outdated
------------------------------------------------------------------ | ||
|
||
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 |
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.
maybe
build --> make
to not confuse it with the build
command of docker below.
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.
or maybe just omit the part:
... needed to build a container and a running ...
Users/Docker_Image.rst
Outdated
@@ -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. |
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.
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?"
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.
@Makman2 yes I think we should put it back in What is a docker image section
Users/Docker_Image.rst
Outdated
.. note:: | ||
|
||
Downloading Docker images and pushing images over low bandwidth connections | ||
is very slow. |
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.
What about
Docker images are usually very large. Downloading or pushing them over low bandwidth connections can be very slow.
instead? :)
your choice 👍
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.
Agree with you. Done necessary changes
Added information about Docker Closes #30
@Makman2 please review |
ack 5839e8d |
@rultor merge |
See #482 |
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
them.
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:
cobot mark wip <URL>
to get it outof the review queue.
The more you review, the more your score will grow at coala.io and we will
review your PRs faster!