Skip to content

build a bioconductor docker images from a dockerfile

Notifications You must be signed in to change notification settings

sadie0733/bioconductor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

build bioconductor docker image

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.


Learning Objectives:

  • 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

Assignment

  1. Complete the assignment described below.
  2. Upload a link to your dockerhub account.
  3. Upload a link with screen-cast.

Prerequisites


Assignment Points

Rubric Points
Dockerhub -/5
Screencast -/5
On Time -/5
Total Points: -/15

Getting Started

1. open docker teminal


2. clone repo and navigate to directory

cd ~/bioconductor

3. create a new container that installs asciinema using a dockerfile

docker build -t bioconductor_asciinema .

4. boot into the new docker container

docker run -it bioconductor_asciinema:latest bash

5. start a screen-cast from within the container

asciinema rec

6. link your container to your asciinema.org account by opening the URL in a web browser

asciinema auth

7. add screen-cast headers and check your docker container

# 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()


8. exit out of container

CTRL-D

9. login to dockerhub

docker login
login: [YOUR DOCKERHUB ID]
pwd: [YOUR PASSWORD]

10. tag container

docker tag bioconductor_asciinema [YOUR DOCKERHUB ID]/bioconductor_asciinema:[month_year]
docker push [YOUR DOCKERHUB ID]/bioconductor_asciinema:[month_year]

About

build a bioconductor docker images from a dockerfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%