This is a collection of layers meant to be published to ModCloth's Docker Registry. Nothing in here should be anything like an "application container", but instead just foundational layers.
This repository contains a Vagrantfile
at the top level which is meant to be
used to create a Linux VM environment in which docker
can be used. Install
vagrant here, then do this:
vagrant up
If anything explodes, you should yell at someone.
Each directory contains a Makefile
(most (all?) of which are linked to
/meta.mk) which may be used to build images from the
Dockerfile
s found throughout:
# Move into a directory containing a Dockerfile
cd /vagrant/nodejs-dev
# Build the container and tag it 'latest'
make latest
Once the images are built, they should be uploaded to the ModCloth Docker
Registry at quay.io/modcloth
using docker push
(after docker login
)
like so:
# Make sure you're logged into the ModCloth Docker Registry
sudo docker login quay.io
# Enter username, password, email # after which there will be
# a ~/.dockercfg containing the auth JSON.
# Push the image by "repository name". All tags for the image will also be pushed.
make push