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: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,11 @@ docker run -it swift /bin/bash
24
24
If you want to run the Swift REPL you will need to run the container with additional privileges:
25
25
26
26
```bash
27
+
# If running Docker on Linux:
27
28
docker run --security-opt seccomp=unconfined -it swift
29
+
30
+
# If running Docker on macOS:
31
+
docker run --privileged -it swift
28
32
```
29
33
30
34
We also provide a "slim" image. Slim images are images designed just for running an already built Swift program. Consequently, they do not contain the Swift compiler.
0 commit comments