Skip to content

Dockerfiles for vault, consul, test-kitchen, etsy-mixer, curl-loader, fwd, toolkit

License

Notifications You must be signed in to change notification settings

kintoandar/dockerfiles

Repository files navigation

Table of Contents

Ready to use containers

You can find fully baked containers, using the dockerfiles provided in this repository, on the public docker registry

Projects

These are the currently available projects


hashicorp-vault

Docker Pulls

Hashicorp Vault on a tiny busybox

# Run example

docker run -p 8300:8300 kintoandar/hashicorp-vault

test-kitchen

Docker Pulls

Fully provisioned CentOS x86_64 container with test-kitchen to enable easy chef cookbook testing


curl-loader

Docker Pulls

Installs curl-loader on a clean CentOS x86_64


etsy-mixer

Docker Pulls

Installs etsy mixer platform for testing


CentOS x86_64

Docker Pulls

This container was built from scratch to have the smallest size footprint and it's currently being used by some of my dockerfiles

You may have a look in my kickstart files


fwd

Docker Pulls

fwd is a network port forwarder written in golang

If you ever need to connect to a non-privileged port when you have a firewall in between allowing only 80/443, this container might help

ENV variables
  • SRC_PORT: Exposed port on the container
  • TO: destination address (host:port)
Example

Launch the container bound to port 80 on my.container.com redirecting the connection to port 2222 on example.com

docker run -d -e SRC_PORT="80" -e TO="example.com:2222" -p 80:80 kintoandar/fwd

Connect on port 80 on my.container.com and end up in example.com port 2222

telnet my.container.com 80
Trying 127.201.15.89...
Connected to example.com.
Escape character is '^]'.
SSH-2.0-OpenSSH_5.3
^C
Connection closed by foreign host.

If you want to know more about fwd check out this article


hashicorp-consul

docker pulls

hashicorp consul on a tiny busybox


toolkit

docker pulls

Container toolkit for debugging running containers

Example

Just replace CONTAINER_HASH with the hash of the running container where you want to attach the toolkit

docker run -it \
  --pid=container:CONTAINER_HASH \
  --net=container:CONTAINER_HASH \
  --cap-add sys_admin \
  kintoandar/toolkit

Docker run reference page has useful information regarding this


Manual build example

If you want to build the container yourself, here's an easy to follow example:

git clone https://github.com/kintoandar/dockerfiles.git
cd dockerfiles/curl-loader
docker build .

Docker Compose

Compose is a tool for defining and running multi-container Docker applications.

These are the available Compose files, using the containers available in this repo, for fun and profit:

  • Vault with Consul backend

Useful bash aliases

You can find some useful bash aliases for interacting with the docker server on my dotfiles repo

Credits

Made with ♥️ by kintoandar

About

Dockerfiles for vault, consul, test-kitchen, etsy-mixer, curl-loader, fwd, toolkit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published