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