Que cherchez-vous ?
Docker – Créer une machine sous MacOS
Cette commande exécute MacOS sous docker :
docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' sickcodes/docker-osx:monterey # docker build -t docker-osx --build-arg SHORTNAME=monterey .
Sources :
https://hub.docker.com/r/sickcodes/docker-osx
https://sick.codes/