mirror of
https://github.com/trycua/computer.git
synced 2026-01-06 05:20:02 -06:00
Split Lumier section into pages
This commit is contained in:
52
docs/content/docs/libraries/lumier/docker.mdx
Normal file
52
docs/content/docs/libraries/lumier/docker.mdx
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: Docker
|
||||
---
|
||||
|
||||
You can use Lumier through Docker:
|
||||
|
||||
### Run a macOS VM (ephemeral)
|
||||
```bash
|
||||
docker run -it --rm \
|
||||
--name macos-vm \
|
||||
-p 8006:8006 \
|
||||
-e VM_NAME=macos-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
Access the VM in your browser at [http://localhost:8006](http://localhost:8006).
|
||||
|
||||
### Persistent Storage
|
||||
```bash
|
||||
mkdir -p storage
|
||||
|
||||
docker run -it --rm \
|
||||
--name lumier-vm \
|
||||
-p 8006:8006 \
|
||||
-v $(pwd)/storage:/storage \
|
||||
-e VM_NAME=lumier-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
-e HOST_STORAGE_PATH=$(pwd)/storage \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
|
||||
### Shared Folder
|
||||
```bash
|
||||
mkdir -p shared
|
||||
|
||||
docker run -it --rm \
|
||||
--name lumier-vm \
|
||||
-p 8006:8006 \
|
||||
-v $(pwd)/storage:/storage \
|
||||
-v $(pwd)/shared:/shared \
|
||||
-e VM_NAME=lumier-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
-e HOST_STORAGE_PATH=$(pwd)/storage \
|
||||
-e HOST_SHARED_PATH=$(pwd)/shared \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
@@ -5,65 +5,9 @@ github:
|
||||
- https://github.com/trycua/cua/tree/main/libs/lumier
|
||||
---
|
||||
|
||||
## Overview
|
||||
**Lumier** is an interface for running macOS virtual machines with minimal setup. It uses Docker as a packaging system to deliver a pre-configured environment that connects to the `lume` virtualization service running on your host machine. With Lumier, you get:
|
||||
|
||||
The Lumier library provides a Docker-based interface for creating performant macOS virtual machines.
|
||||
|
||||
## Installation
|
||||
|
||||
**Requirements:**
|
||||
- Docker for Apple Silicon (or compatible Mac)
|
||||
- Lume virtualization CLI (install with: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"`)
|
||||
|
||||
## Usage
|
||||
|
||||
### Run a macOS VM (ephemeral)
|
||||
```bash
|
||||
docker run -it --rm \
|
||||
--name macos-vm \
|
||||
-p 8006:8006 \
|
||||
-e VM_NAME=macos-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
Access the VM in your browser at [http://localhost:8006](http://localhost:8006).
|
||||
|
||||
### Persistent Storage
|
||||
```bash
|
||||
mkdir -p storage
|
||||
|
||||
docker run -it --rm \
|
||||
--name lumier-vm \
|
||||
-p 8006:8006 \
|
||||
-v $(pwd)/storage:/storage \
|
||||
-e VM_NAME=lumier-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
-e HOST_STORAGE_PATH=$(pwd)/storage \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
|
||||
### Shared Folder
|
||||
```bash
|
||||
mkdir -p shared
|
||||
|
||||
docker run -it --rm \
|
||||
--name lumier-vm \
|
||||
-p 8006:8006 \
|
||||
-v $(pwd)/storage:/storage \
|
||||
-v $(pwd)/shared:/shared \
|
||||
-e VM_NAME=lumier-vm \
|
||||
-e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \
|
||||
-e CPU_CORES=4 \
|
||||
-e RAM_SIZE=8192 \
|
||||
-e HOST_STORAGE_PATH=$(pwd)/storage \
|
||||
-e HOST_SHARED_PATH=$(pwd)/shared \
|
||||
trycua/lumier:latest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
See the [Lumier README](https://github.com/trycua/cua/tree/main/libs/lumier) for advanced options, Docker Compose setup, and automation scripts.
|
||||
- A ready-to-use macOS or Linux virtual machine in minutes
|
||||
- Browser-based VNC access to your VM
|
||||
- Easy file sharing between your host and VM
|
||||
- Simple configuration through environment variables
|
||||
7
docs/content/docs/libraries/lumier/installation.mdx
Normal file
7
docs/content/docs/libraries/lumier/installation.mdx
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Installation
|
||||
---
|
||||
|
||||
**Requirements:**
|
||||
- Docker for Apple Silicon (or compatible Mac)
|
||||
- Lume virtualization CLI (install with: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/trycua/cua/main/libs/lume/scripts/install.sh)"`)
|
||||
7
docs/content/docs/libraries/lumier/meta.json
Normal file
7
docs/content/docs/libraries/lumier/meta.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"pages": [
|
||||
"installation",
|
||||
"docker",
|
||||
"docker-compose"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user