Closed Asmedeus998 closed 1 year ago
On windows, you need to set the port of your X11 display server. Try running export DISPLAY=:420
(replace 420 with whatever port you have it set to). And then run docker compose up
again.
On windows, you need to set the port of your X11 display server. Try running
export DISPLAY=:420
(replace 420 with whatever port you have it set to). And then rundocker compose up
again.
in window I try set DISPLAY=:420
and then run docker compose up
and I get new error.
alpaca-electron-alpaca-electron-1 | The futex facility returned an unexpected error code.
alpaca-electron-alpaca-electron-1 | bash: line 1: 8 Aborted /alpaca-electron/Alpaca\ Electron --no-sandbox
my only solution to fix this issue by running wsl in window without changing anything.
I haven't tried with this program, but I've had success with this setup on other docker based UI's under windows:
environment:
- DISPLAY=:0
- WAYLAND_DISPLAY=wayland-0
- XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
- PULSE_SERVER=/mnt/wslg/PulseServer
volumes:
- /run/desktop/mnt/host/wslg/.X11-unix:/tmp/.X11-unix
- /run/desktop/mnt/host/wslg:/mnt/wslg
Describe the bug display error after running running following command
docker compose up -d
ordocker compose up
here the error message:
To Reproduce Steps to reproduce the behavior:
docker compose up -d
ordocker compose up
time="2023-04-15T16:27:20+08:00" level=warning msg="The \"DISPLAY\" variable is not set. Defaulting to a blank string."
Expected behavior successfully docker to run without any error
Desktop (please complete the following information):