Docker images providing Salome Platform an open-source pre/post-processing for numerical simulation
1.4K
This repository provides Docker images for running Salome ā in a reproducible and portable environment. It is intended for command-line use or graphical workflows.
The currently available images are :
simvia/salome:latest the last version of Salome, i.e. 9.14.0This will mount your current directory as /home/user inside the container:
docker run -it -v $(pwd):/home/user/data simvia/salome:latest
If you want to use the image with graphical user interface, run the container with X11 forwarding:
(host) docker run --rm -it \
--env DISPLAY=$DISPLAY \
--env XAUTHORITY=$XAUTHORITY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $XAUTHORITY:$XAUTHORITY \
--user $(id -u):$(id -g) \
--env QT_X11_NO_MITSHM=1 \
--env QT_QPA_PLATFORM=xcb \
--env NO_AT_BRIDGE=1 \
--net=host \
-v $(pwd):/home/user/data \
simvia/salome:latest
(salome_image) salome
š Make sure that your host allows X11 connections (you might need xhost +local:).
In order to simplify the integration of code_aster in your environment you can define the following function in your .bashrc or .zshrc
function salome() {
docker run --rm -it \
-v $(pwd):/home/user/data \
simvia/salome:latest \
salome "$@"
}
function salome_gui() {
docker run --rm -it \
--env DISPLAY=$DISPLAY \
--env XAUTHORITY=$XAUTHORITY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $XAUTHORITY:$XAUTHORITY \
--env QT_X11_NO_MITSHM=1 \
--env QT_QPA_PLATFORM=xcb \
--env NO_AT_BRIDGE=1 \
--net=host \
-v $(pwd):/home/user/data \
simvia/salome:latest \
salome "$@"
}
--mount.These images are maintained by the Simviaā team !
Content type
Image
Digest
sha256:7578fb4b5ā¦
Size
4.7 GB
Last updated
about 1 month ago
docker pull simvia/salome