directly start core network emulator gui
951
Starting core-gui from macOS:
defaults write org.macosforge.xquartz.X11 enable_iglx -bool trueFinally, start the following script or wrap it in an Automator application.
#!/bin/bash
if ! pgrep Xquartz
then
echo Starting XQuartz
open /Applications/Utilities/XQuartz.app
fi
export PATH=$PATH:/opt/X11/bin:/usr/local/bin
echo Adding localhost to X11 allow list
xhost + 127.0.0.1
echo Starting docker
docker run --rm \
--name coreemu \
-p 2000:22 \
-v /tmp/shared:/shared \
--cap-add=NET_ADMIN \
--cap-add=SYS_ADMIN \
-e SSHKEY="`cat ~/.ssh/id_rsa.pub`" \
-e DISPLAY=host.docker.internal:0 \
--privileged \
-d \
gh0st42/coreemu
Content type
Image
Digest
Size
336.9 MB
Last updated
almost 7 years ago
docker pull gh0st42/coreemu