Fixed a minor docs issue in a Dockerfile Example

The Dockerfile Instruction to create the .vnc directory results in a failure :
-storepasswd failed for file: /root/.vnc/passwd

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>
This commit is contained in:
Madhu Venugopal 2014-10-19 10:06:58 -07:00 committed by Tibor Vass
parent f1a49f2560
commit a6594e13ce
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ For example you might add something like this:
# Install vnc, xvfb in order to create a 'fake' display and firefox
RUN apt-get update && apt-get install -y x11vnc xvfb firefox
RUN mkdir /.vnc
RUN mkdir ~/.vnc
# Setup a password
RUN x11vnc -storepasswd 1234 ~/.vnc/passwd
# Autostart firefox (might not be the best way, but it does the trick)