** Usage
docker run -it --rm bigdeddu/nyxt:2.2.4
See special note for macOS below.
Alternatively, you can also use [[https://github.com/mviereck/x11docker][x11docker]] tool, which has lots of features and options.
** Usage for Docker on macOS
open -a XQuartz
allow connections from network clients
)xhost +127.0.0.1
docker run -it --rm bigdeddu/nyxt:2.2.4
** TODO general
** TODO macOS
** dev/debugging/building
To debug audio/video play I run with:
xterm -e 'xhost +127.0.0.1'; docker run -it --rm --name nyxt \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=unix$DISPLAY \ -e WEBKIT_DISABLE_COMPOSITING_MODE=1 \ -e GDK_SYNCHRONIZE=1 \ -e LIBGL_DEBUG=verbose \ -e LIBGL_ALWAYS_INDIRECT=1 \ -e NO_AT_BRIDGE=1 \ --privileged \ --device /dev/snd nyxt:2.2.4
And build with:
docker build . -t nyxt:2.2.4
This way I can exec in the container via =docker exec=:
docker exec -it nyxt bash