From dc55492698326a668d730970f16e61728b83bb1a Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Tue, 26 Sep 2023 19:30:00 -0700 Subject: Add Docker section to docs --- docs/installation.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/installation.md') 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. -- cgit v1.2.3