mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 12:29:07 +00:00
Update website
This commit is contained in:
11
index.html
11
index.html
@@ -281,9 +281,9 @@ RUN apt-get clean && 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>&1
|
exec /sbin/setuser memcache /usr/bin/memcached >>/var/log/memcached.log 2>&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>
|
||||||
|
|||||||
Reference in New Issue
Block a user