diff --git a/Custom_Containerized_Environment.md b/Custom_Containerized_Environment.md index 1bd8eaa..d9b299f 100644 --- a/Custom_Containerized_Environment.md +++ b/Custom_Containerized_Environment.md @@ -7,8 +7,12 @@ with Docker and Harbor For beginners, it is recommended that custom images use one of the Determined AI's official images as a base image, using the `FROM` instruction. +## Example + Here is an example: Suppose you have `environment.yaml` for creating the `conda` environment, `pip_requirements.txt` for `pip` requirements and some `apt` packages that need to be installed. +> Before proceeding to build your custom Docker image, you need to [install Docker](https://docs.docker.com/engine/install/), or you can choose the *easier* way: build it on the **login-node**. + Put these files in a folder, and create a `Dockerfile` with the following contents: ```Dockerfile