Skip to content

Instantly share code, notes, and snippets.

@hotrungnhan
Last active August 5, 2022 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotrungnhan/e1efce6ad0b5d7d74dd2c3bf4a7780a5 to your computer and use it in GitHub Desktop.
Save hotrungnhan/e1efce6ad0b5d7d74dd2c3bf4a7780a5 to your computer and use it in GitHub Desktop.
Docker command to run macos image with 16 gb ram 8 cpu
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e RAM=16 -e SMP=8 -e CORES=8 --name htn.macos sickcodes/docker-osx:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment