update comments and README

This commit is contained in:
Bryan Hong 2016-02-02 23:44:19 -08:00
parent 1d5792df65
commit d0728135b9
2 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,8 @@ Checkout the excellent aptly documentation [here](http://www.aptly.info/doc/over
If you're happy with your container and ready to share with others, push your image up to a [Docker registry](https://docs.docker.com/docker-hub/) and save any other changes you've made so the image can be easily changed or rebuilt in the future.
1. Run ```./push.sh```
1. Authenticate to the Docker Registry ```docker login```
2. Run ```./push.sh```
3. Log into your Docker hub account and add a description, etc.
> NOTE: If your image will be used FROM other containers you might want to use ```./push.sh flatten``` to consolidate the AUFS layers into a single layer. Keep in mind, you may lose Dockerfile attributes when your image is flattened.

View File

@ -1,6 +1,8 @@
#! /bin/bash
set -e
# Automate the initial creation and update of an Ubuntu package mirror in aptly
UBUNTU_RELEASE=trusty
UPSTREAM_URL="http://archive.ubuntu.com/ubuntu/"
REPOS=( ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-updates ${UBUNTU_RELEASE}-security )