Giter Site home page Giter Site logo

bioconductor-lyumengxian's Introduction

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]

bioconductor-lyumengxian's People

Contributors

lyumengxian avatar github-classroom[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.