Sign inSign up

simvia/salome

By simvia

•Updated about 1 month ago

Docker images providing Salome Platform an open-source pre/post-processing for numerical simulation

Image
2

1.4K

simvia/salome repository overview

⁠Salome Docker Images

This repository provides Docker images for running Salome ⁠ in a reproducible and portable environment. It is intended for command-line use or graphical workflows.


ā šŸ“¦ Image Tag

The currently available images are :

  • simvia/salome:latest the last version of Salome, i.e. 9.14.0

ā šŸš€ How to Run the Image

⁠Minimal use (CLI only, headless)

This will mount your current directory as /home/user inside the container:

docker run -it -v $(pwd):/home/user/data simvia/salome:latest

ā šŸ–„ļø Full use with GUI

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:).


ā šŸ› ļø Transparently using shell function

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 "$@"
}

ā šŸ“„ Notes

  • The container runs as a non-root user by default.
  • You can mount additional folders (e.g., for mesh or result storage) using --mount.
  • This setup is well suited for scripted runs, CI/CD pipelines, or batch processing.

⁠🧰 Maintainer

These images are maintained by the Simvia⁠ team !

Tag summary

Content type

Image

Digest

sha256:7578fb4b5…

Size

4.7 GB

Last updated

about 1 month ago

docker pull simvia/salome