You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker-launcher/README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,38 @@ chmod +x eSim-Launcher-Linux
57
57
chmod +x eSim-Launcher-macOS
58
58
./eSim-Launcher-macOS
59
59
```
60
+
### OR
61
+
### Step 1: Get Docker
62
+
63
+
Download [Docker Desktop](https://www.docker.com/products/docker-desktop) and make sure it's running.
64
+
65
+
### Step 2: Get Python3
66
+
67
+
Download and install[Python3](https://www.python.org/downloads/).
68
+
69
+
### Step 3: Download the files
70
+
71
+
- Download ```Dockerfile```. Note that the ```Dockerfile``` should be without extension. If the ```Dockerfile``` downloads with extension rename the file and remove the extension.
72
+
- Download ```run_esim_docker.py```.
73
+
74
+
### Step 3: Run it
75
+
Make sure docker is already running in the background.
76
+
**Windows:** Open terminal and run:
77
+
```
78
+
python3 run_esim_docker.py
79
+
```
80
+
81
+
**Linux:** Open terminal and run:
82
+
```bash
83
+
chmod +x run_esim_docker.py
84
+
python3 run_esim_docker.py
85
+
```
86
+
87
+
**macOS:** Open terminal and run:
88
+
```bash
89
+
chmod +x run_esim_docker.py
90
+
python3 run_esim_docker.py
91
+
```
60
92
61
93
---
62
94
@@ -77,6 +109,18 @@ The launcher offers two display modes:
77
109
78
110
Both modes work on all platforms - the launcher will guide you through any required setup.
79
111
112
+
Note for MAC to be run in X11 mode:
113
+
-- Install XQuartz on the Mac if you haven't already. You can download it from the [XQuartz](https://www.xquartz.org/) website.
114
+
-- Enable network connections in XQuartz: Go to XQuartz > Preferences > Security tab, and check "Allow connections from network clients".
115
+
-- Restart XQuartz and then restart your Docker application after making changes to the security settings.
116
+
-- Run xhost +localhost in your Mac's terminal before running the Docker container. This allows local connections to your X server.
117
+
Run the following command in a terminal:
118
+
```
119
+
xhost +localhost
120
+
docker run --platform linux/amd64 -it --env="DISPLAY=host.docker.internal:0" -v /tmp/.X11-unix/:/tmp/.X11-unix/:rw esim:latest
0 commit comments