{"id":26604270,"url":"https://github.com/jpbochi/drun","last_synced_at":"2025-04-09T17:34:17.643Z","repository":{"id":146600824,"uuid":"60172175","full_name":"jpbochi/drun","owner":"jpbochi","description":"docker run on pwd","archived":false,"fork":false,"pushed_at":"2019-07-06T21:29:43.000Z","size":72,"stargazers_count":7,"open_issues_count":6,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:39:44.690Z","etag":null,"topics":["cli","devops","devops-tools","docker","homebrew","nodejs","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpbochi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-01T11:46:29.000Z","updated_at":"2021-10-02T00:16:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"073acaa3-7b45-4826-a005-3b7cfe61a11d","html_url":"https://github.com/jpbochi/drun","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbochi%2Fdrun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbochi%2Fdrun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbochi%2Fdrun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbochi%2Fdrun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpbochi","download_url":"https://codeload.github.com/jpbochi/drun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077776,"owners_count":21044023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","devops","devops-tools","docker","homebrew","nodejs","shell"],"created_at":"2025-03-23T19:32:45.992Z","updated_at":"2025-04-09T17:34:17.428Z","avatar_url":"https://github.com/jpbochi.png","language":"Shell","readme":"[![Run Status](https://api.shippable.com/projects/59288d3fb2fff10700c0ceda/badge?branch=master)](https://app.shippable.com/github/jpbochi/drun/runs?branchName=master)\n\n# drun\n\nThis tool is a simple wrapper around `docker run` which will mount the current directory. It's useful when you have that python/node/ruby/whatever script that depends on locally installed stuff. Forget pyenv and rbenv. Just get inside a docker container with `drun`.\n\n## Install\n\nIf you use [brew](http://brew.sh/), do: `brew tap jpbochi/tap \u0026\u0026 brew install drun`\n\nIf not, try: `curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash`\n\nIf you want to install an specific version, try: `curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash -s -- -v 1.2.1`\n\nYou can also install it somewhere else with: `curl -fsSL https://raw.github.com/jpbochi/drun/master/install.sh | bash -s -- -d ./temp`\n\n## Suggested aliases\n\n```\nalias dr-node='drun -N -P'\nalias dr-compose='drun -e HOME=\"$HOME\" -I docker/compose:1.9.0'\nalias dr-py='drun -I python:2.7'\n```\n\n## Examples\n\n```\n$ drun alpine sh\n/Users/jpbochi/src/jp/drun # ls\nREADME.md  drun       install\n/Users/jpbochi/src/jp/drun # echo hello \u003e world.txt\n/Users/jpbochi/src/jp/drun #\n\n$ ls\nREADME.md drun      install   world.txt\n\n$ drun alpine false\n\n$ echo $?\n1\n\n$ node --version\nv5.12.0\n\n$ drun node:5.7 node --version\nv5.7.1\n\n$ ARRRRR=arrrrrrrrrrr MOARRR=moar drun -e ARR alpine env\nPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\nHOSTNAME=moby\nTERM=xterm\nARRRRR=arrrrrrrrrrr\nMOARRR=moar\nHOME=/Users/jpbochi/src/jp/drun\nno_proxy=*.local, 169.254/16\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbochi%2Fdrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpbochi%2Fdrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbochi%2Fdrun/lists"}