Sign inSign up

gribeiro00/phd_env

By gribeiro00

•Updated about 2 years ago

Image
Operating systems
0

57

gribeiro00/phd_env repository overview

This is my Linux environment for the research and development in my PhD.

To run on Wayland you will need to install xhost and allow the docker user to access xwayland with xhost +local:docker.

To create a container:

docker run -it \
    --ulimit nofile=1024:524288 \
    --ipc=host \
    --gpus all \
    --network host \
    --privileged \
    -v /dev:/dev \
    -e DISPLAY=$DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e XSOCKET=/tmp/.X11-unix/X1 \
    -e XDG_RUNTIME_DIR=/tmp \
    -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
    -v $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/$WAYLAND_DISPLAY \
    -v ~/PhD/phd_experiments:/root/PhD/phd_experiments \
    --name phd_env \
    gribeiro00/phd_env:1.0 bash

And to change the owner of the shared folder to your host user:

sudo setfacl -R -m d:u:$USER:rwx ~/PhD/phd_experiments

Tag summary

Content type

Image

Digest

sha256:1930b19e4…

Size

2.7 GB

Last updated

about 2 years ago

docker pull gribeiro00/phd_env:1.0