Skip to content

Commit

Permalink
Update docs/Documentation/Development/Containers/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yandthj authored Aug 16, 2024
1 parent 36ddc9c commit 752c65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Documentation/Development/Containers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ FROM ubuntu:22.04
RUN apt-get update -y && apt-get install python3 -y
```

Images are normally built (or "bootstrapped") from a base image indicated by `FROM`. This base image is composed of one or more layers that will be pulled from the appropriate [container registry](registries.md) during buildtime. In this example, version 22.04 of the Ubuntu operating system is specified as the base image. Docker pulls from Ubuntu's [DockerHub container registry](https://hub.docker.com/_/ubuntu) by default. The ability to use a different base image provides a way to use packages which may work more easily on a specific operating system distribution. For example, the Linux distribution on Kestrel is CentOS, so building the above image would allow the user to install packages from Ubuntu repositories.
Images are normally built (or "bootstrapped") from a base image indicated by `FROM`. This base image is composed of one or more layers that will be pulled from the appropriate [container registry](registries.md) during buildtime. In this example, version 22.04 of the Ubuntu operating system is specified as the base image. Docker pulls from Ubuntu's [DockerHub container registry](https://hub.docker.com/_/ubuntu) by default. The ability to use a different base image provides a way to use packages which may work more easily on a specific operating system distribution. For example, the Linux distribution on Kestrel is Red Hat, so building the above image would allow the user to install packages from Ubuntu repositories.

The `RUN` portion of the above Dockerfile indicates the command to run *during the image's buildtime*. In this example, it installs the Python 3 package. Additional commands such as `COPY`, `ENV`, and others enable the customization of your image to suit your compute environment requirements.

Expand Down

0 comments on commit 752c65c

Please sign in to comment.