Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Docker image with Xvnc working with Kubernetes agent?

Thanks Pierre-Charles. This is exactly what is needed to make Mickael's image work on the cluster. 


Mikaël Barbero 
Team Lead - Release Engineering | Eclipse Foundation
📱 (+33) 642 028 039 | 🐦 @mikbarbero
Eclipse Foundation: The Platform for Open Innovation and Collaboration

Le 13 déc. 2018 à 08:39, Pierre-Charles David <pierre-charles.david@xxxxxxx> a écrit :

On 12/12/2018 20:38, Mickael Istria wrote:
Hi all,

I'm finally trying to create my own Docker image to run Wild Web Developer tests and runtime. WIP is at . The image seems correct locally (I can start vncserver, or at least it seems so) so I deployed it to <> ( ) to be able to reference it in our Jenkinsfile ( ) and use it during build.
However, when the image is used on <>, it's failing to start the vncserver with an error that looks like a user management issue:
`vncserver: Could not create //.vnc.` (from ). This error makes me think it's because the current user of the Docker image is not named to it's not possible to infer a correct path.

Not sure this is the same issue (I can not see the console log you linked to), but the CBI images available at [1] had to perform some specific step regarding user id:

### user name recognition at runtime w/ an arbitrary uid - for OpenShift deployments
COPY scripts/uid_entrypoint /usr/local/bin/uid_entrypoint
RUN chmod u+x /usr/local/bin/uid_entrypoint && \
    chgrp 0 /usr/local/bin/uid_entrypoint && \
    chmod g=u /etc/passwd

ENTRYPOINT [ "uid_entrypoint" ]

and at the end:

USER 10001

See also


cbi-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Attachment: signature.asc
Description: Message signed with OpenPGP

Back to the top