Freddy Hernandez
06/09/2024, 7:55 PMSakib Pathen
06/09/2024, 7:56 PMSakib Pathen
06/09/2024, 7:56 PMFreddy Hernandez
06/09/2024, 7:56 PMSakib Pathen
06/09/2024, 7:57 PMFreddy Hernandez
06/09/2024, 8:01 PMroot@ID:
. I run
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/wslg:/mnt/wslg -v $(pwd):$(pwd) -w $(pwd) -e DISPLAY -e WAYLAND_DISPLAY -e XDG_RUNTIME_DIR -e PULSE_SERVER --name glayoutcontainer openfasoc:glayout
Freddy Hernandez
06/09/2024, 8:02 PMdocker: Error response from daemon: Conflict. The container name "/glayoutcontainer" is already in use by container "295ff9370d3a6ca6411aacfd159ddefebb659b6c8d0aaa5935c7cc297d9219cf". You have to remove (or rename) that container to be able to reuse that name.
Sakib Pathen
06/09/2024, 8:02 PMSakib Pathen
06/09/2024, 8:02 PMFreddy Hernandez
06/09/2024, 8:03 PMxhost +Local:*
Sakib Pathen
06/09/2024, 8:03 PMFreddy Hernandez
06/09/2024, 8:05 PMSakib Pathen
06/09/2024, 8:06 PMexec
you can't mount volumesSakib Pathen
06/09/2024, 8:06 PM-v $(pwd):$(pwd)
gives the container access to your working directorySakib Pathen
06/09/2024, 8:06 PMrun
Sakib Pathen
06/09/2024, 8:12 PMrun
you make a copy of that image so you can run commands on it. When you run again using run
you make another copy of the image (not of the container you run previously).Sakib Pathen
06/09/2024, 8:13 PMcommit
command, because that creates an image of the container you installed klive on, and if you were to run another container with the original image you would not have access to klive.Freddy Hernandez
06/09/2024, 8:28 PMreivan
06/10/2024, 11:05 AMSakib Pathen
06/10/2024, 3:42 PM