Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Develop in Container

Welcome to the world of development containers! Whether you’re a seasoned statistician or just starting your journey, development containers through Docker provides a powerful and flexible solution for creating reproducible and isolated environments for your data analysis and statistical modeling projects. With development containers, you can effortlessly set up and manage pre-configured environments that contain all the necessary dependencies, libraries, and tools, ensuring consistent results across different systems whether on your local laptop or remote server. The following tutorials provide instructions for development container setup, management, and customization.

It is enouraged to use dev containers through remote servers such as Alta.


Setup

Getting Ready to Use Alta

Alta Beta Testers

This tutorial covers how to:

  • set up SSH keys
  • set up VS Code
  • connect to Alta
  • configure development containers for Alta

Management

Containers Management

Essential

This tutorial covers:

  • basic container commands
  • starting/attaching/detaching/stopping containers

Files

This tutorial covers:

  • moving files around between remote and local instances
  • GitHub repository cloning and basic management

Jobs

This tutorial covers:

  • background job management
  • basic terminal multiplexer (tmux) usage for persistant terminal sessions
  • running background jobs while disconnected from server and/or container

Additional Features

Editing Dockerfile

This tutorial covers:

  • advanced customization of Dockerfile

GitHub Codespaces

This tutorial covers:

  • getting the GitHub Developer Pack
  • running Codespaces
  • using Codespaces with VS Code

© 2023 The Regents of the University of California. All Rights Reserved. References or pointers to non-University entities or resources do not represent endorsement by the Regents of the University of California.