1
0
mirror of https://github.com/docker/cli.git synced 2026-01-22 03:22:01 +03:00

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>
Upstream-commit: a6594e13ce
Component: cli
This commit is contained in:
Madhu Venugopal
2014-10-19 10:06:58 -07:00
committed by Tibor Vass
parent 5d0a93226f
commit 6b65799e84

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)