Skip to content

Instantly share code, notes, and snippets.

View ipbabble's full-sized avatar

William ipbabble

View GitHub Profile

Private files in docker container

It is sometimes necessary to have files in a container that shouldn't ever end up in an image. These files are generally some form of private key or password that aren't allowed to be distributed. This document details a few usecases for such files and their requirements.

Use Cases

Private keys for packages

@ipbabble
ipbabble / gist:c7f231d6ebf596e61cd6
Last active April 28, 2016 00:51
Deeper Docker

Intro

Do a short recap on Docker/Containers/Images/build/pull/run. Repositories, Registries, Index.

Then looked at:

Preparation

Can build a quick Fedora/HTTP Image from Dockerfile: