Skip to content

Commit bef2658

Browse files
[llvm] Proofread Docker.rst (llvm#160448)
1 parent 74d49f2 commit bef2658

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/docs/Docker.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ to get a very basic explanation of it.
2727
`Docker <https://www.docker.com/>`_ is a popular solution for running programs in
2828
an isolated and reproducible environment, especially to maintain releases for
2929
software deployed to large distributed fleets.
30-
It uses linux kernel namespaces and cgroups to provide a lightweight isolation
31-
inside currently running linux kernel.
30+
It uses Linux kernel namespaces and cgroups to provide a lightweight isolation
31+
inside currently running Linux kernel.
3232
A single active instance of dockerized environment is called a *docker
3333
container*.
3434
A snapshot of a docker container filesystem is called a *docker image*.
@@ -127,17 +127,17 @@ Which image should I choose?
127127
We currently provide two images: Debian12-based and nvidia-cuda-based. They
128128
differ in the base image that they use, i.e. they have a different set of
129129
preinstalled binaries. Debian8 is very minimal, nvidia-cuda is larger, but has
130-
preinstalled CUDA libraries and allows to access a GPU, installed on your
130+
preinstalled CUDA libraries and allows access to a GPU, installed on your
131131
machine.
132132

133-
If you need a minimal linux distribution with only clang and libstdc++ included,
133+
If you need a minimal Linux distribution with only clang and libstdc++ included,
134134
you should try Debian12-based image.
135135

136136
If you want to use CUDA libraries and have access to a GPU on your machine,
137137
you should choose nvidia-cuda-based image and use `nvidia-docker
138138
<https://github.com/NVIDIA/nvidia-docker>`_ to run your docker containers. Note
139139
that you don't need nvidia-docker to build the images, but you need it in order
140-
to have an access to GPU from a docker container that is running the built
140+
to have access to a GPU from a docker container that is running the built
141141
image.
142142

143143
If you have a different use-case, you could create your own image based on
@@ -176,4 +176,4 @@ The first image is only used during build and does not have a descriptive name,
176176
i.e. it is only accessible via the hash value after the build is finished.
177177
The second image is our resulting image. It contains only the built binaries
178178
and not any build dependencies. It is also accessible via a descriptive name
179-
(specified by -d and -t flags).
179+
(specified by ``-d`` and ``-t`` flags).

0 commit comments

Comments
 (0)