{"id":15127770,"url":"https://github.com/cleafy/sxkdvm","last_synced_at":"2025-04-04T22:08:11.405Z","repository":{"id":140014950,"uuid":"91717932","full_name":"Cleafy/sxkdvm","owner":"Cleafy","description":"SXKDVM - OSX Docker KVM / Run an OSX KVM virtual machine inside a Docker container.","archived":false,"fork":false,"pushed_at":"2017-06-15T14:42:28.000Z","size":200,"stargazers_count":876,"open_issues_count":2,"forks_count":87,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-04-04T22:08:07.379Z","etag":null,"topics":["docker","docker-container","kvm","macosx","osx","osx-kvm","osx-virtual-machine"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cleafy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-18T16:59:47.000Z","updated_at":"2025-04-03T08:52:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"058bc685-059f-41e0-9f01-07828e1b185a","html_url":"https://github.com/Cleafy/sxkdvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleafy%2Fsxkdvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleafy%2Fsxkdvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleafy%2Fsxkdvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cleafy%2Fsxkdvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cleafy","download_url":"https://codeload.github.com/Cleafy/sxkdvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256114,"owners_count":20909240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-container","kvm","macosx","osx","osx-kvm","osx-virtual-machine"],"created_at":"2024-09-26T02:05:25.085Z","updated_at":"2025-04-04T22:08:11.388Z","avatar_url":"https://github.com/Cleafy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"(Research project)\n\n# OSX Docker KVM\nRun an OSX KVM virtual machine inside a Docker container.\n\nThis project permits to run an OSX virtual machine (KVM) inside a Docker container.\n\n# Run the Image\n\nTo execute the container, you need a working `mac_hdd-backing.img`. You can obtain one with [OSX-KVM project](https://github.com/kholia/OSX-KVM). After that, you can mount the backing storage with the Docker command line and pass the KVM device.\n\n    docker run --device /dev/kvm:/dev/kvm -v $PWD/backing:/backing -p 2222:2222 -p 5900:5900 -p 5800:5800 cleafy/sxkdvm\n\nTo persist the changes export the snapshot storage somewhere with `-v $PWD/snapshot:/snapshot`.\n\n# Exposed Ports\n\nThis VM exposes an ssh connection at `2222` and a VNC server at `5900,5800` ports.\n\nIt is possible to access the VM with the following command:\n\n    ssh appleuser@localhost -p 2222\n\n# Performance Considerations\n\nThe environment uses automatic [copy-on-write](https://en.wikibooks.org/wiki/QEMU/Images#Copy_on_write) images to provide seamless integration with [Docker layered file system](https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/). The mechanism mentioned above permits to obtain acceptable performance when running multiple VMs without hogging the storage.\n\nFurthermore, this container uses hardware virtualization technologies, like VT-X or AMD-V, to achieve almost native performance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleafy%2Fsxkdvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleafy%2Fsxkdvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleafy%2Fsxkdvm/lists"}