https://github.com/nchern/dockerformacos
A frontend to control docker inside a VM on MacOS
https://github.com/nchern/dockerformacos
cli docker macos
Last synced: about 2 months ago
JSON representation
A frontend to control docker inside a VM on MacOS
- Host: GitHub
- URL: https://github.com/nchern/dockerformacos
- Owner: nchern
- License: mit
- Created: 2021-11-27T11:53:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-03T06:36:37.000Z (about 4 years ago)
- Last Synced: 2025-01-21T22:36:31.447Z (over 1 year ago)
- Topics: cli, docker, macos
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker for MacOS
**Experimental**
Docker Desktop has become really bloated.
This is a thin frontend to docker running inside a VM.
## Installation
Using VirtualBox
1. Create virtual machine named "docker".
2. Setup networking: make sure guest is accessible from the host.
The easiest is to setup [Bridged networking](https://www.virtualbox.org/manual/ch06.html#:~:text=not%20below%201024.-,6.4.%C2%A0Network%20Address%20Translation%20Service,-The%20Network%20Address)
3. Install [Alpine](https://wiki.alpinelinux.org/wiki/Installation).
Make sure `sshd` is installed and enabled; Enable root login in config: `PermitRootLogin yes`
4. Share host file system root: `docker-vm create`
5. Initialize the VM: `docker-vm init `
Note: at this stage you need to **manually** figure out and provide ``.
The IP is not available before guest additions are installed, up and running.
This step installs all packages including guest additions to the VM.