From 1e1511edcd0502158d88a71c302f4ecfb045d6b3 Mon Sep 17 00:00:00 2001 From: Bryan Date: Wed, 3 Feb 2016 13:12:35 -0800 Subject: [PATCH] adjusted formatting --- README-dockerhub.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README-dockerhub.md b/README-dockerhub.md index fa65c25..934019d 100644 --- a/README-dockerhub.md +++ b/README-dockerhub.md @@ -13,6 +13,7 @@ Requirements / Dependencies Start the container --------------------- 1. Run (adjust to suit your environment) + ``` docker run \ --detach=true \ @@ -27,6 +28,7 @@ Start the container -p 80:80 \ bryanhong/aptly:latest ``` + 2. Wait until the GPG keyrings are created (not 0 bytes) before proceeding (it can take a few minutes). They will be in the bind mount location you chose in above. Create a mirror of Ubuntu's main repository @@ -42,12 +44,14 @@ When the script completes, you should have a functional mirror that you can poin Point a host at the mirror -------------------------- 1. Fetch the public PGP key from your aptly repository and add it to your trusted repositories + ``` wget http://FQDN.OF.APTLY/aptly_repo_key.pub apt-key add aptly_repo_key.pub ``` 2. Backup then replace /etc/apt/sources.list + ``` cp /etc/apt/sources.list /etc/apt/sources.list.bak echo "deb http://FQDN.OF.APTLY/ ubuntu main" > /etc/apt/sources.list