From 588ea3e5b1172c573a6e71c6e102f43e72bf3f51 Mon Sep 17 00:00:00 2001 From: Mario1159 Date: Thu, 7 Sep 2023 17:03:26 -0300 Subject: [PATCH] Add linux and macOS instructions --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec3a2c5..76b2275 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,17 @@ Execute the next script in powershell. This script will run the container inside wsl and bind the enviroments variables for [wslg](https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md). #### Linux -Execute the next script in your terminal. Make sure you have `curl` already installed. +Execute the next script in your terminal replacing `` and ``. ```sh -curl https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/scripts/linux_start.sh -o linux_start.sh +docker run -it --name -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ``` +> For Wayland compositors make sure you have XWayland installed + +#### macOS / OS X + +Install `Xquartz` and run the linux previous command. + ### 2. Connecting to the container After creating and starting the container, enter to it executing a shell with docker. ```sh