summaryrefslogtreecommitdiff
path: root/docs/sources/articles/using_supervisord.md
diff options
context:
space:
mode:
authorFred Lifton <fred.lifton@docker.com>2014-08-27 09:05:02 -0700
committerFred Lifton <fred.lifton@docker.com>2014-08-27 09:05:02 -0700
commitaba575c7546ba7d2914f0c3b8b3450667b3959ac (patch)
treed0158f0eab4b9710815c1a87e2ef3699e5185205 /docs/sources/articles/using_supervisord.md
parent4b54484843eacf6ce57d2fc16e6aacc70d964041 (diff)
parent7565cb309988345f9ed9daba87052f2bba116033 (diff)
downloaddocker-docs-1.1.tar.gz
Merge pull request #7755 from SvenDowideit/post-1.1.2-docs-update-1docs-1.1
Post 1.1.2 docs update 1
Diffstat (limited to 'docs/sources/articles/using_supervisord.md')
-rw-r--r--docs/sources/articles/using_supervisord.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/sources/articles/using_supervisord.md b/docs/sources/articles/using_supervisord.md
index 9188265199..10f32c7d1b 100644
--- a/docs/sources/articles/using_supervisord.md
+++ b/docs/sources/articles/using_supervisord.md
@@ -28,18 +28,14 @@ new image.
FROM ubuntu:13.04
MAINTAINER examples@docker.com
- RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
- RUN apt-get update
- RUN apt-get upgrade -y
## Installing Supervisor
We can now install our SSH and Apache daemons as well as Supervisor in
our container.
- RUN apt-get install -y openssh-server apache2 supervisor
- RUN mkdir -p /var/run/sshd
- RUN mkdir -p /var/log/supervisor
+ RUN apt-get update && apt-get install -y openssh-server apache2 supervisor
+ RUN mkdir -p /var/lock/apache2 /var/run/apache2 /var/run/sshd /var/log/supervisor
Here we're installing the `openssh-server`,
`apache2` and `supervisor`