Giter VIP home page Giter VIP logo

docker-rmt-fuser's Introduction

Setting up remote-fuser in Docker

Objective

To encapsulate the remote-fuser application in a docker container so that it can provide a FUSE containing BLAST databases to other containers.

Background

remote-fuser is a command line application from the NCBI SRA toolkit which facilitates setting up FUSE on the local host. The BLAST database files reside in the gs://blast-db GCS bucket.

Instructions

N.B.: these instructions assume Ubuntu Linux

  • make run creates and runs a docker container with remote-fuser configured to get BLAST databases from GCS, however, these cannot be seen outside the container
  • make check runs a few commands to demonstrate that.
  • make run_shared same as make run but it sets the bind-propagation to the value of the BP environment variable (shared by default).
  • make stop stops and removes the most recently started remote-fuser docker container.
  • make clean removes all binaries and locally downloaded scripts
  • make fuse.xml retrieves the remote-fuser configuration file

Instructions on GCP COS

  1. Create a COS instance:

    make cos_start

  2. On the newly created instance (named rmt-fuser-test-$USER by default):

    git clone https://github.com/christiam/docker-rmt-fuser.git

  3. Build image

    cd docker-rmt-fuser && sudo bash -x cos-build.sh

  4. Run the container

    bash -x cos-run.sh

  5. Check the local file system

    bash -x cos-check.sh

  6. Stop the container

    docker rm -f rmt-fuser

  7. Outside the COS instance, to stop it, please run:

    make cos_stop

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.