Sign inSign up

shivanandvp/salome

By shivanandvp

•Updated about 3 years ago

A container that runs SALOME (from https://www.salome-platform.org/)

Image
0

411

shivanandvp/salome repository overview

To run this container while mounting a custom local directory ~/salome (on your host computer) for use as /home/salome (within the container), it is convenient to make an executable script that has the following contents:

#!/usr/bin/env sh

docker pull shivanandvp/salome:latest
mkdir -p ~/salome

xhost +local:root \
    && docker run \
        --net=host \
        --ipc=host \
        --pid=host \
        --privileged=true \
        --volume /tmp/.X11-unix:/tmp/.X11-unix \
        --volume ~/salome:/home/salome \
        --env DISPLAY=${DISPLAY} \
        --interactive \
        --tty \
        --rm \
        shivanandvp/salome:latest

xhost -local:root

Otherwise just run the above commands in the same order, without the #! line

Note: The container is already configured to start a shell in the /home/salome directory (within the container) while simultaneously launching the Salome graphical application.

The code for the Dockerfile for this image is found at https://github.com/shivanandvp/SALOME-Docker⁠

Tag summary

Content type

Image

Digest

sha256:319fd65d9…

Size

11.1 GB

Last updated

about 3 years ago

docker pull shivanandvp/salome