Code Monkey home page Code Monkey logo

osx-kvm's Introduction

Support HighSierra and Mojave

OSX-KVM Dockerfile

Docker Hub

Usage

EXPOSE 5900(VNC) and 22(SSH)

Run Container

  1. Do Installation Preparation => Preparation steps on your current macOS installation on This Repo

  2. Your generated ISO rename to macOS.iso

  3. docker pull syuchan1005/osx-kvm

docker run -d --name macOS --device /dev/kvm:/dev/kvm -p 5900:5900 \
-v /path/to/iso/folder:/data syuchan1005/osx-kvm

Install macOS

  1. Connect to VNC(port: 5900)
  2. Do Installation => Installer Steps on This Repo

Container Environment

ENV NAME default description
CORE 2 number of cores to use
MEMORY 3G amount of memory (M = Megabyte, g = Gigabyte)
KEYBOARD en-us Keyboard layout
CLOVER 1 Add Clover iso (0: false, *: true)
INSTALLER 1 Add Installer iso (0: false, *: true)

Keyboard layouts

ar de-ch es fo fr-ca hu ja mk no pt-br sv
da en-gb et fr fr-ch is lt nl pl ru th
de en-us fi fr-be hr it lv nl-be pt sl tr

Memo

BootScript Changes

DO WHAT DEFAULT TO
CHANGE machine pc-q35-2.11 pc-q35-2.10
CHANGE netdev tap...... user,id=net0 -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27
CHANGE drive ./'Mojave/Clover.qcow2' Clover.qcow2
CHANGE drive ./mac_hdd.img /data/mac_hdd.img
CHANGE drive ./'Mojave.iso' /data/macOS.iso
CHANGE monitor monitor stdin vnc 0.0.0.0:0
ADD k en-us

Mojave.iso

need 7.7GB

osx-kvm's People

Contributors

syuchan1005 avatar xinyang128 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.