You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2015/10/16 13:02:07 UTC

svn commit: r1708955 - /sling/trunk/launchpad/docker/README.txt

Author: rombert
Date: Fri Oct 16 11:02:07 2015
New Revision: 1708955

URL: http://svn.apache.org/viewvc?rev=1708955&view=rev
Log:
docker: add instructions for pushing to dockerhub

Modified:
    sling/trunk/launchpad/docker/README.txt

Modified: sling/trunk/launchpad/docker/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/docker/README.txt?rev=1708955&r1=1708954&r2=1708955&view=diff
==============================================================================
--- sling/trunk/launchpad/docker/README.txt (original)
+++ sling/trunk/launchpad/docker/README.txt Fri Oct 16 11:02:07 2015
@@ -30,3 +30,20 @@ the Sling launchpad in a docker containe
 both containers, execute:
 
 $ sudo docker-compose -f docker-compose-mongo.yml up
+
+Pushing the docker image to DockerHub
+----------------------------------------------
+
+This assumes that you have the credentials for the apachesling repository
+on DockerHub.
+
+First of all, build the image tagged for the apachesling repository. You
+should tag it with both the 'latest' and the version number of the launchpad
+release. For the 8 release, this would translate into
+
+$ sudo docker build -t apachesling/sling:8 .
+$ sudo docker build -t apachesling/sling:latest .
+
+Then, push the image
+
+$ sudo docker push apachesling/sling:8