Giter VIP home page Giter VIP logo

r.docker4remoteparts's Introduction

R Docker 4 remotePARTS

A barebones docker container to run remotePARTS.

Copy the docker image from this repo or pull the docker container from the docker hub

docker pull kelewinska/rparts:latest

Build the docker image:

# the '-t' flag passes the name of the container in the local environment
docker build -t kelewinska/rparts:<version-tag>

Run docker image kelewinska/rparts:<version-tag> in an interactive container named rparts :

docker run -it --name rparts kelewinska/rparts:<version-tag>

Run docker image kelewinska/rparts:<version-tag> in an interactive container named rparts with additional volumes mounted:

docker run -v /data:/data -v /mnt:/mnt -w $PWD -u $(id -u):$(id -g) -it --name rparts kelewinska/rparts:<version-tag>

Use appropriate --user, --volume, --workdir options to define user-specific settings, to mount volumes necessary for the processing, and to define working directory inside the container, respectively. Be careful with using $PWD - when used, it makes a container nonindependent from the local environment. The use of --cpus can be desired to limit CPUs use allowed for a container. Or even better --cpuset-cpus to indicate the cpus available for a container (their use will be maxed out according to the processing done in a container).

docker run -v /data:/data -v /mnt:/mnt -u $(id -u):$(id -g) -it `--cpuset-cpus`="0-19" --name rparts kelewinska/rparts:<version-tag>

For better experience, please add to the docker image R packages essential for your specific workflow(s).

The current :latest image is build based on r-base:4.3.1.

r.docker4remoteparts's People

Contributors

kelewinska avatar

Watchers

 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.