Skip to content

glvnd container with cuda #217

Answered by Besler
Besler asked this question in Q&A
Mar 6, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I've always had a hard time installing cuda directly, so I switched up the root build image and built the trame image myself.

echo "Building ${TRAME_DOCKER_TAG}"
docker build \
    --progress=plain \
    --build-arg BASE_IMAGE=nvidia/cuda:11.2.0-cudnn8-runtime-ubuntu20.04 \
    -t ondiag/trame:common \
    ${TRAME_DIR}/docker \
    -f "${TRAME_DIR}/docker/Dockerfile.common"
docker build \
    --progress=plain \
    --build-arg BASE_IMAGE=ondiag/trame:common \
    -t "${TRAME_DOCKER_TAG}" \
    ${TRAME_DIR}/docker \
    -f "${TRAME_DIR}/docker/Dockerfile.pip"

${TRAME_DIR} points to a trame git submodule. Then I use ${TRAME_DOCKER_TAG} as the base image. I render with VTK OSMESA. So far run…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Answer selected by Besler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants