You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the container is started like mentioned above, connect via one of these options:
@@ -74,24 +74,27 @@ If the container is started like mentioned above, connect via one of these optio
74
74
## Hints
75
75
76
76
### 1) Extend a Image with your own software
77
-
Since `1.1.0` all images run as non-root user per default, so that means, if you want to extend the image and install software, you have to switch in the `Dockerfile` back to the `root` user:
77
+
Since version `1.1.0` all images run as non-root user per default, so if you want to extend the image and install software, you have to switch back to the `root` user:
78
78
79
79
```bash
80
80
## Custom Dockerfile
81
81
FROM consol/centos-xfce-vnc
82
82
ENV REFRESHED_AT 2018-03-18
83
83
84
-
## Install a gedit
84
+
# Switch to root user to install additional software
85
85
USER 0
86
+
87
+
## Install a gedit
86
88
RUN yum install -y gedit \
87
89
&& yum clean all
90
+
88
91
## switch back to default user
89
92
USER 1000
90
93
```
91
94
92
95
### 2) Change User of running Sakuli Container
93
96
94
-
Per default, since version `1.3.0` all container processes will executed with user id `1000`. You can change the user id like follow:
97
+
Per default, since version `1.3.0` all container processes will be executed with user id `1000`. You can change the user id as follows:
95
98
96
99
#### 2.1) Using root (user id `0`)
97
100
Add the `--user` flag to your docker run command:
@@ -122,7 +125,7 @@ the docker run command:
122
125
docker run -it -p 5901:5901 -p 6901:6901 -e VNC_RESOLUTION=800x600 consol/centos-xfce-vnc
123
126
124
127
### 4) View only VNC
125
-
Since version `1.2.0` it's possible to prevent unwanted control over VNC. Therefore you can set the environment variable `VNC_VIEW_ONLY=true`. If set the docker startup script will create a random cryptic password for the control connection and use the value of `VNC_PW` for the view only connection over the VNC connection.
128
+
Since version `1.2.0` it's possible to prevent unwanted control via VNC. Therefore you can set the environment variable `VNC_VIEW_ONLY=true`. If set, the startup script will create a random password for the control connection and use the value of `VNC_PW` for view only connection over the VNC connection.
126
129
127
130
docker run -it -p 5901:5901 -p 6901:6901 -e VNC_VIEW_ONLY=true consol/centos-xfce-vnc
128
131
@@ -142,10 +145,11 @@ See **[how-to-release.md](./how-to-release.md)**
142
145
143
146
At this point we want to thank all contributors, which helped to move this great project by submitting code, writing documentation, or adapting other tools to play well together with the docker headless container.
144
147
145
-
*[Tobias Schneck](https://github.com/toschneck) - Lead Development
0 commit comments