This lesson is being piloted (Beta version)

Challenge Examples

Overview

Teaching: 0 min
Exercises: 20 min
Questions
  • How to do a few more things?

Objectives
  • How to run with SSH and not use cp

Get SSH credentials in a container without cp

Get SSH credentials inside a container without using cp

Solution

Mount multiple volumes

docker run --rm -ti \
 -w /home/atlas/Bootcamp \
 -v $PWD:/home/atlas/Bootcamp \
 -v $HOME/.ssh:/home/atlas/.ssh \
 -v $HOME/.gitconfig:/home/atlas/.gitconfig \
 atlas/analysisbase:21.2.85-centos7

Key Points

  • Containers are extensive