- Improve run.sh to allow direct call with appl full path in one argument,

- Now support 580.105.08 driver,
- Now use rx3-docker/x11-pulse:1.2.6-mga9 image,
- Rebuild for updates.
This commit is contained in:
Arnaud G. GIBERT 2025-11-29 11:42:13 +01:00
parent d6fcb35c68
commit e94e601e85
4 changed files with 28 additions and 10 deletions

View File

@ -5,13 +5,13 @@ Welcome to RX3-Docker/X11-Pulse-NVidia docker image!
This is project aims to build a X11 + Pulse + NVidia docker image able to run any graphic & audio application isolated and hardware optimized.
Features:
- Curtently based on rx3-docker/x11-pulse:1.2.5-mga9 image,
- NVidia libs installed (580.82.07),
- Curtently based on rx3-docker/x11-pulse:1.2.6-mga9 image,
- NVidia libs installed (580.105.08),
- Require nvidia-container-toolkit installed on the host,
- Add '-d' option to disable sound.
Usage:
./bin/run.sh [-h] [-i] <Application Dir> <Application Exec> [Args...]
./bin/run.sh [-h] [-d] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]

View File

@ -1,3 +1,14 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/X11-Pulse-NVidia V 1.0.4 - A. GIBERT - 2025/11/29
------------------------------------------------------------------------------------------------------------------------------------
- Improve run.sh to allow direct call with appl full path in one argument,
- Now support 580.105.08 driver,
- Now use rx3-docker/x11-pulse:1.2.6-mga9 image,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/X11-Pulse-NVidia V 1.0.3 - A. GIBERT - 2025/09/19
------------------------------------------------------------------------------------------------------------------------------------

View File

@ -15,7 +15,7 @@ while [[ "$1" == "-h" || "$1" == "-d" || "$1" == "-i" ]]
do
if [[ "$1" == "-h" ]]
then
echo "usage: run.sh [-h] [-d] [-i] <Application_Dir> <Application_Exec> [Args...]"
echo "usage: run.sh [-h] [-d] [-i] [<Application_Dir> <Application_Exec> | <Application_Exec>] [Args...]"
echo "with -d disabling sound,"
echo "with -i enabling internet access."
@ -35,11 +35,18 @@ do
fi
done
export APPL_DIR="$1"
shift
if [[ -d "$1" ]]
then
export APPL_DIR="$1"
shift
export APPL_NAME="$1"
shift
export APPL_NAME="$1"
shift
else
export APPL_DIR="$( dirname $1)"
export APPL_NAME="./$(basename $1)"
shift
fi

View File

@ -20,7 +20,7 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
APPL_NAME="x11-pulse-nvidia"
APPL_NAME_FULL="X11-Pulse-NVidia Docker Image"
APPL_NAME_SHORT="x11-pls-nv"
APPL_VERSION="1.0.3"
APPL_VERSION="1.0.4"
HOST_NAME_PREFIX=${APPL_NAME_SHORT}${APPL_SUFFIX}
@ -46,7 +46,7 @@ DOCKER_TOOLS_VOLUME=SINGLE
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+---------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
docker_service_add XPN x11-pulse-nvidia ${ORG_URL_PREFIX} - "Rx3-Docker/X11-Pulse-NVidia" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} x11-pulse 1.2.5-mga9 - - - - - - - -
docker_service_add XPN x11-pulse-nvidia ${ORG_URL_PREFIX} - "Rx3-Docker/X11-Pulse-NVidia" ${APPL_VERSION}-mga9 ${ORG_URL_PREFIX} x11-pulse 1.2.6-mga9 - - - - - - - -