Skip to content
/ dcx Public

docker exec with one command + better prompt string

Notifications You must be signed in to change notification settings

yavuzakyuz/dcx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Single command docker executor, for spinning a bash terminal in seconds.

img

Features

  • Quick container instantiation with Docker
  • Auto-installation of Bash in the container if not present
  • Shared volume between the host and the container
  • Neatly formatted prompt to differentiate between the host and container environments
  • Optional container clean-up post session

Prerequisites

Docker must be installed and running on the machine.

Usage

  1. Running the tool:
dcx [options] [image-name]
  1. Default Image: By default, if no image is provided, alpine is used.

  2. Use 'rm' Flag for Cleanup: If you provide the rm flag, the container will be removed after you exit the Bash session.

dcx rm [image-name]

About

docker exec with one command + better prompt string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages