mirror of
https://github.com/coder/coder.git
synced 2026-06-03 21:18:24 +00:00
856f0ab6f5
* chore: Improve project-wide prettier formatting and ignored files * chore: `Run make fmt/prettier` * Fix gitignore for `.vscode` folder so that ! works * Add comment in `.prettierrc.yaml` to explain `.editorconfig` * Remove scripts/apidocgen/markdown-template/README.md * Use `yq` for processing prettierrc, update lib.sh dependency check * Add `yq` to Dockerfile and Nix
1.4 KiB
1.4 KiB
name, description, tags
| name | description | tags | ||||
|---|---|---|---|---|---|---|
| Run Coder in Lima | Quickly stand up Coder using Lima |
|
Run Coder in Lima
This provides a sample Lima configuration for Coder. This lets you quickly test out Coder in a self-contained environment.
Prerequisite: You must have
limainstalled and available to use this.
Getting Started
- Run
limactl start --name=coder https://raw.githubusercontent.com/coder/coder/main/examples/lima/coder.yaml - You can use the configuration as-is, or edit it to your liking.
This will:
- Start an Ubuntu 22.04 VM
- Install Docker and Terraform from the official repos
- Install Coder using the installation script
- Generates an initial user account
admin@coder.comwith a randomly generated password (stored in the VM under/home/${USER}.linux/.config/coderv2/password) - Initializes a sample Docker template for creating workspaces
Once this completes, you can visit http://localhost:3000 and start creating workspaces!
Alternatively, enter the VM with limactl shell coder and run coder templates init to start creating your own templates!
Further Information
- To learn more about Lima, visit the the project's GitHub page.