Skip to main content

Create Docker container for single application

Project description


From an original idea from subuser to run an application into a docker container like a local application.

Quick Start

Build your own

  • ./ReSub -e name #edit
  • ./ReSub -b name #build
  • Edit container + adapt option files.
  • Build until success
  • Run ./ReSub -v name

--options [option] [name]

  • -h :help
  • -v :verbose
  • -t :force terminal
  • -l :List images
  • --check :Check containers
  • --clean :Clean unneeded containers
  • -b name :Build subContainer
  • -e name :Edit Files
  • -c cmd :Command override
  • name :Name of the container


/!\ security warning

Docker can run applications as root inside container (but, external files (ie outside container) will be as root. Don't use root if you don't know what your are doing. (see example)


  • [ ] "daemon" instead of terminal
  • [ ] "display" share /tmp/.X11 to display graphical interface
  • [ ] "docker" for host docker api
  • [ ] "home" private home for this application
  • [ ] "pwd" access to the current pwd << don't be root
  • [ ] "root" launch docker as root (instead of current user)
  • [ ] "sound" access to pulse audio
  • [ ] "ssh" share ssh-agent


ByPass Root with Docker power

docker run -v /etc:/hack -it debian cat /hack/shadow

Well Known

sound only works with pulse

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ReSubuser, version 0.0.19
Filename, size File type Python version Upload date Hashes
Filename, size ReSubuser-0.0.19-py3-none-any.whl (19.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ReSubuser-0.0.19.tar.gz (21.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page