Browse code

Added a "we are hiring" to the frontpage of the docker website, and fixed two broken links in the docs.

Thatcher Peskens authored on 2013/05/18 11:35:46
Showing 6 changed files
... ...
@@ -59,18 +59,13 @@ site:
59 59
 connect:
60 60
 	@echo connecting dotcloud to www.docker.io website, make sure to use user 1
61 61
 	@cd _build/website/ ; \
62
-	dotcloud list ; \
63
-	dotcloud connect dockerwebsite
62
+	dotcloud connect dockerwebsite ;
63
+	dotcloud list
64 64
 
65 65
 push:
66 66
 	@cd _build/website/ ; \
67 67
 	dotcloud push
68 68
 
69
-github-deploy: docs
70
-	rm -fr github-deploy
71
-	git clone ssh://git@github.com/dotcloud/docker github-deploy
72
-	cd github-deploy && git checkout -f gh-pages && git rm -r * && rsync -avH ../_build/html/ ./ && touch .nojekyll && echo "docker.io" > CNAME && git add * && git commit -m "Updating docs"
73
-
74 69
 $(VERSIONS):
75 70
 	@echo "Hello world"
76 71
 
... ...
@@ -85,7 +85,7 @@ On top of being a runtime for LXC, Docker is the Registry client. It supports:
85 85
 5. Index returns true/false lettings registry know if it should proceed or error out
86 86
 6. Get the payload for all layers
87 87
 
88
-It’s possible to run docker pull https://<registry>/repositories/samalba/busybox. In this case, docker bypasses the Index. However the security is not guaranteed (in case Registry A is corrupted) because there won’t be any checksum checks.
88
+It’s possible to run docker pull \https://<registry>/repositories/samalba/busybox. In this case, docker bypasses the Index. However the security is not guaranteed (in case Registry A is corrupted) because there won’t be any checksum checks.
89 89
 
90 90
 Currently registry redirects to s3 urls for downloads, going forward all downloads need to be streamed through the registry. The Registry will then abstract the calls to S3 by a top-level class which implements sub-classes for S3 and local storage.
91 91
 
... ...
@@ -245,8 +245,8 @@ API (pushing repos foo/bar):
245 245
 The Index has two main purposes (along with its fancy social features):
246 246
 
247 247
 - Resolve short names (to avoid passing absolute URLs all the time)
248
-   - username/projectname -> https://registry.docker.io/users/<username>/repositories/<projectname>/
249
-   - team/projectname -> https://registry.docker.io/team/<team>/repositories/<projectname>/
248
+   - username/projectname -> \https://registry.docker.io/users/<username>/repositories/<projectname>/
249
+   - team/projectname -> \https://registry.docker.io/team/<team>/repositories/<projectname>/
250 250
 - Authenticate a user as a repos owner (for a central referenced repository)
251 251
 
252 252
 3.1 Without an Index
... ...
@@ -58,7 +58,7 @@ Use the new image we just created and create a new container with network port 5
58 58
 .. code-block:: bash
59 59
 
60 60
     docker logs $WEB_WORKER
61
-     * Running on http://0.0.0.0:5000/
61
+     * Running on \http://0.0.0.0:5000/
62 62
 
63 63
 view the logs for the new container using the WEB_WORKER variable, and if everything worked as planned you should see the line "Running on http://0.0.0.0:5000/" in the log output.
64 64
 
... ...
@@ -70,7 +70,7 @@ lookup the public-facing port which is NAT-ed store the private port used by the
70 70
 
71 71
 .. code-block:: bash
72 72
 
73
-    curl http://`hostname`:$WEB_PORT
73
+    curl \http://`hostname`:$WEB_PORT
74 74
       Hello world!
75 75
 
76 76
 access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
... ...
@@ -15,7 +15,7 @@ Most frequently asked questions.
15 15
 
16 16
 3. **Does Docker run on Mac OS X or Windows?**
17 17
 
18
-   Not at this time, Docker currently only runs on Linux, but you can use VirtualBox to run Docker in a virtual machine on your box, and get the best of both worlds. Check out the MacOSX_ and Windows_ intallation guides.
18
+   Not at this time, Docker currently only runs on Linux, but you can use VirtualBox to run Docker in a virtual machine on your box, and get the best of both worlds. Check out the MacOSX_ and Windows_ installation guides.
19 19
 
20 20
 4. **How do containers compare to virtual machines?**
21 21
 
... ...
@@ -35,8 +35,8 @@ Most frequently asked questions.
35 35
     * `Ask questions on Stackoverflow`_
36 36
     * `Join the conversation on Twitter`_
37 37
 
38
-    .. _Windows: ../documentation/installation/windows.html
39
-    .. _MacOSX: ../documentation/installation/macos.html
38
+    .. _Windows: ../installation/windows/
39
+    .. _MacOSX: ../installation/vagrant/
40 40
     .. _the repo: http://www.github.com/dotcloud/docker
41 41
     .. _IRC\: docker on freenode: irc://chat.freenode.net#docker
42 42
     .. _Github: http://www.github.com/dotcloud/docker
43 43
new file mode 100644
44 44
Binary files /dev/null and b/docs/theme/docker/static/img/hiring_graphic.png differ
... ...
@@ -127,6 +127,22 @@
127 127
                 <h4>Repeatability</h4>
128 128
                 <p>Because each container is isolated in its own filesystem, they behave the same regardless of where, when, and alongside what they run.</p>
129 129
             </section>
130
+            <section class="contentblock">
131
+                <div class="container">
132
+                <div class="span2" style="margin-left: 0" >
133
+                    <a href="http://dotcloud.theresumator.com/apply/mWjkD4/Software-Engineer.html" title="Job description"><img src="static/img/hiring_graphic.png" width="140px" style="margin-top: 25px"></a>
134
+                </div>
135
+                <div class="span4" style="margin-left: 0">
136
+                    <h4>Do you think it is cool to hack on docker? Join us!</h4>
137
+                    <ul>
138
+                        <li>Work on open source</li>
139
+                        <li>Program in Go</li>
140
+                    </ul>
141
+                    <a href="http://dotcloud.theresumator.com/apply/mWjkD4/Software-Engineer.html" title="Job description">read more</a>
142
+                </div>
143
+                </div>
144
+
145
+            </section>
130 146
         </div>
131 147
         <div class="span6">
132 148
             <section class="contentblock">