[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feedback on how to run a Desktop Gambas Application into a Docker container
[Thread Prev] | [Thread Next]
- Subject: Re: Feedback on how to run a Desktop Gambas Application into a Docker container
- From: Laurent Carlier <lordheavym@xxxxxxxxx>
- Date: Thu, 21 Aug 2025 13:35:05 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le jeudi 21 août 2025, 01:57:56 heure d’été d’Europe centrale Linus a écrit : > Hello all, > > Like previously the feedback about how to run a Gambas Web Application into > a Docker container, today is the turn of how to run a Gambas Desktop > Application. > > The main differences are: > - the command line executed into the Docker Container for a Gambas Desktop > Application is the *.gambas executable itself rather than the Web Server > process in the case of a Gambas Web Application. - The options used in the > command line to start the Docker Container > > You will find here a little video showing how to start a Gambas Desktop > Application into a Docker Container + the Gambas demo Project + the Docker > project to build the Docker Image of the Gambas Desktop Application > > Docker_Gambas_Desktop_Application > <https://drive.google.com/drive/folders/1D6Q8bsilYRq4RKcybVl6pEyUOTD-dOt0?u > sp=sharing> > > > Here is an example of the Docker command line to start a Graphic Application > > xhost +local:docker ; \ > docker run -it --name calculateurdegrade \ > --privileged \ > --net=host \ > --env="NVIDIA_DRIVER_CAPABILITIES=all" \ > --env="DISPLAY=$DISPLAY" \ > --env="QT_X11_NO_MITSHM=1" \ > --volume="/tmp/.X11-unix:/tmp/.X11" \ > calculateurdegrade:202508 > > > The only bad point on this kind of solution to embedded a Gambas Desktop > Application, is the size of the Docker Image produced (in this example > 746MB) but the size does not affect at all the time to start the > application, that’s the magie of Docker... > > In the end the Docker Image can run the Application on any Linux > distribution because all the necessary for the Graphic Application is > inside the Docker Container. > > > I hope this project will interest/help someone > > > Olivier Cruilles You should add all of this on the wiki ! Good job ;) ++
Attachment:
signature.asc
Description: This is a digitally signed message part.
Feedback on how to run a Desktop Gambas Application into a Docker container | Linus <olivier.cruilles@xxxxxxxx> |