diff --git a/README.md b/README.md index 5fad4a4..6b4618f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/assets/update_mirror.sh b/assets/update_mirror.sh index 16fab84..a35e738 100755 --- a/assets/update_mirror.sh +++ b/assets/update_mirror.sh @@ -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 )