Skip to content

Latest commit

 

History

History
 
 

tool-box

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Docker Repository on Quay

Tool Box

This container exists to help folks that can't install ansible, git or other necessary tools. It is not to be used in any time of production setting and is not suppportable under an OpenShift subscription.

What's in the box?

  • oc version 3.11.0-0.32.0
  • ansible 2.6 (stable from pip)
  • git
  • tree
  • unzip
  • jq

If you need something not here, let us know in an issue or submit a PR.

Usage

OpenShift

Assuming you have the CLI installed

Build the container and deploy it in OpenShift:

$ oc run -i -t tool-box-test --image=quay.io/redhat-cop/tool-box --rm bash

Docker

Run the container in the background, then shell into. There are important things the container does at boot that you don't want to override. If you need sudo for docker:

$ sudo docker run -it tool-box /bin/bash

If you don't need sudo:

$ docker run -it tool-box /bin/bash

Building the Image

This image is available publicly at quay.io/redhat-cop/tool-box, so there's no need to build it yourself. If you need to build it for development reasons, here's how.

With Docker

Clone this repo:

$ git clone https://github.com/redhat-cop/containers-quickstarts

Build the container:

[containers-quickstarts/tool-box]$ docker build -t tool-box .

In OpenShift

oc new-build https://github.com/redhat-cop/containers-quickstarts --name=tool-box --context-dir=tool-box