https://github.com/unboundedsystems/containit
The easy button for running commands in containers! For more info on using ContainIt, check out the Unbounded Systems video Seamless CLI Tools in Docker: https://youtu.be/XSgaNMtzb7M
https://github.com/unboundedsystems/containit
cli cohort developer-tools development-tools docker shell tools
Last synced: 12 months ago
JSON representation
The easy button for running commands in containers! For more info on using ContainIt, check out the Unbounded Systems video Seamless CLI Tools in Docker: https://youtu.be/XSgaNMtzb7M
- Host: GitHub
- URL: https://github.com/unboundedsystems/containit
- Owner: unboundedsystems
- License: isc
- Created: 2017-12-07T18:43:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-27T13:57:53.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T00:12:29.514Z (about 1 year ago)
- Topics: cli, cohort, developer-tools, development-tools, docker, shell, tools
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ContainIt
The easy button for running commands in containers.
[ContainIt on GitHub](https://github.com/unboundedsystems/containit)
ContainIt is designed to make it easy to run commands in containers
instead of just running the native command. This makes it much easier
to get the right versions of build and deployment tools, work with
different command versions, and commands that don't have native
packages on the host operating system.
## QuickStart
To setup a directory hierarchy to use ContainIt to run commands in a container, do the following:
```
cd top-level
# Clone into the directory, or create a git submodule if top-level is a repo
git clone https://github.com/unboundedsystems/containit
mkdir bin
cat > bin/command-that-describes-my-container < bin/node </dev/null 1>myout
```
In this case stderr and stdout output will end up in `myout` because
ContainIt will add the `-t` flag to `docker run` which loses the
distinction between stderr and stdout.