This assignment walks you through modifying an bioconductor docker images by installing asciinema and saving the new docker image to dockerhub. asciinema is a free and open source solution for recording terminal sessions and sharing them on the web. Docker is tool that packages software into self-contained computing environments, called containers. Docker Hub is a hosted repository service provided by Docker for finding and sharing container images with others.
- build a docker image
- create a screen-cast
- run the bioconductor/bioconductor_docker container via docker
- save changes to a new docker image
- push the new docker image to dockerhub
- Complete the assignment described below.
- Upload a link to your dockerhub account.
- Upload a link with screen-cast.
- create an asciinema account using email at asccinema.org
- create a dockerhub account
Rubric | Points |
---|---|
Dockerhub | -/5 |
Screencast | -/5 |
On Time | -/5 |
Total Points: -/15 |
cd ~/bioconductor
docker build -t bioconductor_asciinema .
docker run -it bioconductor_asciinema:latest bash
asciinema rec
asciinema auth
# GMS6804
# name: [your-name-here]
# date: [current-date]
# semester: [current-semester]
# assignment: quiz07- bioconductor-asciinema
# check if R is installed?
R
# check if bioconductor package installed:
library(Biostrings)
sequences <- c("AAATCGA", "ATACAACAT", "TTGCCA")
sequences
dna <- DNAStringSet(sequences)
dna
reverse(dna)
reverseComplement(dna)
quit()
CTRL-D
docker login
login: [YOUR DOCKERHUB ID]
pwd: [YOUR PASSWORD]
docker tag bioconductor_asciinema [YOUR DOCKERHUB ID]/bioconductor_asciinema:[month_year]
docker push [YOUR DOCKERHUB ID]/bioconductor_asciinema:[month_year]