Просмотр исходного кода

docs: add Docker installation option for OpenCode

Dax Raad 4 месяцев назад
Родитель
Сommit
31c4a1d853
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      packages/web/src/content/docs/index.mdx

+ 6 - 0
packages/web/src/content/docs/index.mdx

@@ -112,6 +112,12 @@ You can also install it with the following commands:
   mise use --pin -g ubi:sst/opencode
   mise use --pin -g ubi:sst/opencode
   ```
   ```
 
 
+- **Using Docker**
+
+  ```bash
+  docker run -it --rm ghcr.io/sst/opencode
+  ```
+
 Support for installing OpenCode on Windows using Bun is currently in progress.
 Support for installing OpenCode on Windows using Bun is currently in progress.
 
 
 You can also grab the binary from the [Releases](https://github.com/sst/opencode/releases).
 You can also grab the binary from the [Releases](https://github.com/sst/opencode/releases).