NetBook
  • The Basics
    • About
      • 🧑‍🤝‍🧑Community
    • 🔰Getting Started
      • 🤟Introduction
    • 🛒Components
      • ⚒️WorkFlow
      • 👨‍🏫Projects
      • 🟩Dashboard
      • 🌐Workspaces
        • Overview
        • Quickstart
      • ⛏️Experiments
        • Setting Up your Code
        • Creating Training Docker Image
        • Training Data Setup
        • Start a New Training Job on NetBook UI
      • 🖥️Compute Backends
        • Add your Kubernetes Clusters
          • Create Kubernetes Cluster on E2E Nodes
          • Creating Kubernetes Cluster on Bare Metal Servers
      • 🧑‍💻Environments
        • Overview
        • Quickstart
    • 💳Accounts
      • 🌥️Bring your own Cloud
        • Azure
          • Setup in your Azure
          • Adding Credentials to Netbook Portal
        • AWS
          • Setup in your AWS account
          • Adding Credentials to NetBook Portal
    • 💵Billing
    • 🔧Settings
  • Api Docs
    • Api documentation
  • Issues and resolutions
    • Slack Support
  • Release Notes
    • Version 0
  • OpenSource
    • Docs
      • Spawner
        • reference
          • Cluster
          • Nodes
        • Setup
        • Usage examples
        • Issues and Troubleshooting
Powered by GitBook
On this page
  1. The Basics
  2. Components
  3. Experiments

Setting Up your Code

This section is optional if you provide a custom training docker.

PreviousExperimentsNextCreating Training Docker Image

Last updated 3 years ago

NetBook training server automatically tries to create a docker image for your training code to run on Kubernetes.

For NetBook to automatically create a docker image, here are the files we read from repo with the order of priority

We use to make it work

This currently supports and installs based on the following files in the repo

You can also provide a custom training docker and NetBook can directly use the training docker rather than creating one. To use this, check Creating Training Docker Image

🛒
⛏️
https://github.com/jupyterhub/repo2docker
Configuration Files
environment.yml - Install a conda environment
Pipfile and/or Pipfile.lock - Install a Python environment
requirements.txt - Install a Python environment
setup.py - Install Python packages
Project.toml - Install a Julia environment
REQUIRE - Install a Julia environment (legacy)
install.R - Install an R/RStudio environment
apt.txt - Install packages with apt-get
DESCRIPTION - Install an R package
postBuild - Run code after installing the environment
start - Run code before the user sessions starts
runtime.txt - Specifying runtimes
default.nix - the nix package manager
Dockerfile - Advanced environments