Update website

This commit is contained in:
Hongli Lai (Phusion)
2014-02-06 12:35:24 +01:00
parent 93aecd8fcf
commit bc40bc5027

View File

@@ -281,9 +281,9 @@ RUN apt-get clean &amp;&amp; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*</pre>
<pre>### In memcached.sh (make sure this file is chmod +x): <pre>### In memcached.sh (make sure this file is chmod +x):
#!/bin/sh #!/bin/sh
# `chpst` is part of running. `chpst -u memcache` runs the given command # `/sbin/setuser memcache` runs the given command as the user `memcache`.
# as the user `memcache`. If you omit this, the command will be run as root. # If you omit that part, the command will be run as root.
exec chpst -u memcache /usr/bin/memcached >>/var/log/memcached.log 2&gt;&amp;1 exec /sbin/setuser memcache /usr/bin/memcached >>/var/log/memcached.log 2&gt;&amp;1
### In Dockerfile: ### In Dockerfile:
RUN mkdir /etc/service/memcached RUN mkdir /etc/service/memcached
@@ -294,9 +294,8 @@ ADD memcached.sh /etc/service/memcached/run</pre>
<h2>More documentation</h2> <h2>More documentation</h2>
<p>This website only covers the basics. Please refer to <a href="https://github.com/phusion/baseimage-docker#readme">the Github repository</a> for more documentation. Topics include:</p> <p>This website only covers the basics. Please refer to <a href="https://github.com/phusion/baseimage-docker#readme">the Github repository</a> for more documentation. Topics include:</p>
<ul> <ul>
<li>Adding additional daemons</li> <li><a href="https://github.com/phusion/baseimage-docker#running_startup_scripts">Running scripts during container startup</a></li>
<li>Running scripts during container startup</li> <li><a href="https://github.com/phusion/baseimage-docker#login">Instructions on logging into the container</a></li>
<li>Instructions on logging into the container</li>
</ul> </ul>
<p>Having problems? Want to participate in development? Please post a message at <a href="https://groups.google.com/d/forum/passenger-docker">the discussion forum</a>.</p> <p>Having problems? Want to participate in development? Please post a message at <a href="https://groups.google.com/d/forum/passenger-docker">the discussion forum</a>.</p>