Challenge Examples
Overview
Teaching: 0 min
Exercises: 20 minQuestions
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 -it \ -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