Skip to main content

Create Docker container for single application

Project description

ReSub

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

ReSub.py [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

Rights

/!\ 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)

name/options

  • "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

name/Dockerfile

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.

Source Distribution

ReSubuser-0.0.19.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ReSubuser-0.0.19-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file ReSubuser-0.0.19.tar.gz.

File metadata

  • Download URL: ReSubuser-0.0.19.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for ReSubuser-0.0.19.tar.gz
Algorithm Hash digest
SHA256 3480af9813c72396759f6c0234af521ecaea37f2c6c5fc85604cc7d6ab6a0667
MD5 b84d54c4b9beda05ed5c07b02d55736b
BLAKE2b-256 986af0c73f6324dd4c73a3e47c5254235bf92336b0a2f1e2b66252657bcdbe54

See more details on using hashes here.

File details

Details for the file ReSubuser-0.0.19-py3-none-any.whl.

File metadata

  • Download URL: ReSubuser-0.0.19-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for ReSubuser-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 f13f6d443aae6fa07468de889ee0523a27c26fc44b34c4e42ef1f5801a017b86
MD5 fdd615ce54c68d9a53a45ada2f275544
BLAKE2b-256 8b369ed67fec2d1442cc3be528fc55f3e31fd773c7f929dbecfce945d38c6075

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page