An open API service indexing awesome lists of open source software.

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

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.