Giter VIP home page Giter VIP logo

docker-run-wrapper's Introduction

docker run wrapper

Build Status

usage

$ drw config  # vim starts
python = "python:3"
ghci = "haskell:latest"
ghc = "haskell:latest"
mysql = "mysql:5.7"
$ drw -s python
docker run --rm -it -w /drw/ -v $(pwd):/drw/ python:3 python
$ drw python
Python 3.6.1 (default, Jun  8 2017, 21:43:55)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
$ drw mysql -h HOST -u USER -p DATABASE
Enter password:
$ drw ghci
GHCi, version 8.0.2: http://www.haskell.org/ghc/  :? for help
Prelude>
$ drw 'ghc --make helloworld.hs && ./helloworld'
[1 of 1] Compiling Main             ( helloworld.hs, helloworld.o )
Linking helloworld ...
Hello, world
  • use haskell:latest

Installation

$ git clone [email protected]:m3y/docker-run-wrapper.git
$ cd docker-run-wrapper
$ make install

Mac OS X / Homebrew

$ brew tap m3y/drw
$ brew install drw

docker-run-wrapper's People

Contributors

m3y avatar

Stargazers

 avatar

Watchers

 avatar  avatar

docker-run-wrapper's Issues

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.