Run any binary you have in mind into a Docker environment
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Run every command you have in mind in a Docker environment, avoiding installing binaries in your workstation.

This is not just an alias for docker run, because if an image is not found in official Docker Hub registry, it searches for 3-party images so that you can potentially run everything.

You can also define your own aliases for your preferred docker image and tag.


Simple example

$ dr node

Using preferred version:

$ dr node@10

$ dr node@10-alpine

Other examples passing arguments:

$ dr php@7-alpine --version
PHP 7.2.12 (cli) (built: Nov 16 2018 03:17:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Using an unofficial docker image:

$ dr sqlmap --url http://localhost
 ___ ___| |_____ ___ ___  {}
|_ -| . | |     | .'| . |
|___|_  |_|_|_|_|__,|  _|
      |_|           |_|

Usage: python [options]

Define aliases

When you use dr the first time, it writes an entry into a local registry to avoid searching into Docker Hub every time.

You can use this feature to define your own aliases.

To do so, edit the file /usr/local/etc/dr.db and add/edit an entry in this format:





sh -c "$(curl -fsSL"