{"id":27390290,"url":"https://github.com/ailispaw/moby-hyperkit","last_synced_at":"2025-09-15T12:19:07.265Z","repository":{"id":89119702,"uuid":"63112926","full_name":"ailispaw/moby-hyperkit","owner":"ailispaw","description":"Moby running on HyperKit","archived":false,"fork":false,"pushed_at":"2017-12-11T17:36:05.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T19:51:49.435Z","etag":null,"topics":["docker","hyperkit","moby-images"],"latest_commit_sha":null,"homepage":"","language":"C","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/ailispaw.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,"zenodo":null}},"created_at":"2016-07-12T00:47:24.000Z","updated_at":"2017-02-13T14:13:13.000Z","dependencies_parsed_at":"2023-06-14T00:45:33.971Z","dependency_job_id":null,"html_url":"https://github.com/ailispaw/moby-hyperkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ailispaw/moby-hyperkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fmoby-hyperkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fmoby-hyperkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fmoby-hyperkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fmoby-hyperkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailispaw","download_url":"https://codeload.github.com/ailispaw/moby-hyperkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2Fmoby-hyperkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275254937,"owners_count":25432365,"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","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","hyperkit","moby-images"],"created_at":"2025-04-13T19:39:35.873Z","updated_at":"2025-09-15T12:19:07.248Z","avatar_url":"https://github.com/ailispaw.png","language":"C","readme":"# Moby running on HyperKit\n\nIt uses only Moby images and HyperKit from Docker for Mac.\n\n## Requirements\n\n- [Docker for Mac](https://docs.docker.com/docker-for-mac/)\n\n## Ripping Moby images from Docker for Mac\n\n```bash\n$ git clone https://github.com/ailispaw/moby-hyperkit\n$ cd moby-hyperkit\n$ make init\n```\n\n## Booting Up\n\n```bash\n$ [SHARED_FOLDER=\u003cdir\u003e] make up    # You may be asked for your sudo password\nBooting up...\n```\n\n- On Terminal.app: This will open a new window, then you will see in the window as below.\n- On iTerm.app: This will split the current window, then you will see in the bottom pane as below.\n\n```bash\nWelcome to Moby\n\n                        ##         .\n                  ## ## ##        ==\n               ## ## ## ## ##    ===\n           /\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\\___/ ===\n      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~\n           \\______ o           __/\n             \\    \\         __/\n              \\____\\_______/\n\n\n/ # \n```\n\n## Using Docker from Mac\n\n```bash\n/ # echo 'DOCKER_OPTS=\"-H 0.0.0.0:2375\"' \u003e /etc/conf.d/docker\n/ # rc-service docker restart\n```\n\n```bash\n$ make env\nmoby-hyperkit: running on 192.168.64.4\nexport DOCKER_HOST=tcp://192.168.64.4:2375;\nunset DOCKER_CERT_PATH;\nunset DOCKER_TLS_VERIFY;\n$ eval $(make env)\nmoby-hyperkit: running on 192.168.64.4\n$ docker info\nContainers: 0\n Running: 0\n Paused: 0\n Stopped: 0\nImages: 0\nServer Version: 17.09.1-ce\nStorage Driver: overlay2\n Backing Filesystem: extfs\n Supports d_type: true\n Native Overlay Diff: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins:\n Volume: local\n Network: bridge host macvlan null overlay\n Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog\nSwarm: inactive\nRuntimes: runc\nDefault Runtime: runc\nInit Binary: docker-init\ncontainerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0\nrunc version: 3f2f8b84a77f73d38244dd690525642a72156c64\ninit version: 949e6fa\nSecurity Options:\n seccomp\n  Profile: default\nKernel Version: 4.9.49-moby\nOperating System: Alpine Linux v3.5\nOSType: linux\nArchitecture: x86_64\nCPUs: 1\nTotal Memory: 992.7MiB\nName: moby\nID: 4AVN:SV3L:AONU:RNO2:5KCS:HYD4:BRJO:HZI7:5XCA:TPUQ:KYMF:CZBI\nDocker Root Dir: /var/lib/docker\nDebug Mode (client): false\nDebug Mode (server): true\n File Descriptors: 17\n Goroutines: 26\n System Time: 2017-12-11T17:33:11.727837306Z\n EventsListeners: 0\nRegistry: https://index.docker.io/v1/\nExperimental: false\nInsecure Registries:\n 127.0.0.0/8\nLive Restore Enabled: false\n```\n\n## Setting up SSH and sudo\n\n```bash\n/ # apk update\n/ # apk add openssh sudo\n/ # /etc/init.d/sshd start\n/ # echo \"docker:docker\" | chpasswd\n/ # echo \"%docker ALL=(ALL) NOPASSWD: ALL\" \u003e /etc/sudoers.d/docker\n```\n\n```bash\n$ make ssh\nmoby-hyperkit: running on 192.168.64.4\ndocker@192.168.64.4's password:\nWelcome to Moby\nmoby:~$ \n```\n\n## Setting up NFS mount\n\n```bash\n/ # vi /etc/init.d/nfsmount\n#!/sbin/openrc-run\n\ndepend()\n{\n  need net\n}\n\nstart()\n{\n  ebegin \"Starting NFS Mount\"\n\n  SHARED_FOLDER=$(cat /proc/cmdline | sed -n 's/^.*hyperkit.shared_folder=\"\\([^\"]\\+\\)\".*$/\\1/p')\n  if [ -z \"${SHARED_FOLDER}\" ]; then\n    exit 1\n  fi\n\n  apk update\n  apk add nfs-utils\n\n  GW_IP=\"$(ip route get 8.8.8.8 | awk 'NR==1 {print $3}')\"\n  MOUNT_POINT=\"${SHARED_FOLDER}\"\n  mkdir -p \"${MOUNT_POINT}\"\n  mount \"${GW_IP}:${MOUNT_POINT}\" \"${MOUNT_POINT}\" -o rw,async,noatime,rsize=32768,wsize=32768,nolock,vers=3,actimeo=1\n\n  eend $? \"Failed to start NFS Mount\"\n}\n/ # chmod +x /etc/init.d/nfsmount\n/ # rc-update add nfsmount\n/ # rc-service nfsmount start\n/ # mount | grep 192.168.64.1\n192.168.64.1:/Users/ailispaw on /Users/ailispaw type nfs (rw,noatime,vers=3,rsize=32768,wsize=32768,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.64.1,mountvers=3,mountproto=tcp,local_lock=all,addr=192.168.64.1)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fmoby-hyperkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failispaw%2Fmoby-hyperkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fmoby-hyperkit/lists"}