aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-09-26 19:30:00 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-09-26 19:30:00 -0700
commitdc55492698326a668d730970f16e61728b83bb1a (patch)
tree68063b72cea9bf3941e6b4e104ddb89b637af449
parent2b2927dedc437869013e78cdfcc0389223ce0ae9 (diff)
downloadbun-dc55492698326a668d730970f16e61728b83bb1a.tar.gz
bun-dc55492698326a668d730970f16e61728b83bb1a.tar.zst
bun-dc55492698326a668d730970f16e61728b83bb1a.zip
Add Docker section to docs
-rw-r--r--docs/installation.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/installation.md b/docs/installation.md
index 6ff29f2a3..73d222eaf 100644
--- a/docs/installation.md
+++ b/docs/installation.md
@@ -48,6 +48,24 @@ The test runner, package manager, and bundler are still under development. The f
- `bun link/unlink`
- `bun build`
+## Docker
+
+Bun provides a [Docker image](https://hub.docker.com/r/oven/bun/tags) that supports both Linux x64 and arm64.
+
+```bash
+$ docker pull oven/bun
+$ docker run --rm --init --ulimit memlock=-1:-1 oven/bun
+```
+
+There are also image variants for different operating systems.
+
+```bash
+$ docker pull oven/bun:debian
+$ docker pull oven/bun:slim
+$ docker pull oven/bun:alpine
+$ docker pull oven/bun:distroless
+```
+
## Upgrading
Once installed, the binary can upgrade itself.