mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs: add --name ashim to all docker run commands
Ensures the container is named ashim in Docker Desktop on all platforms instead of getting a random name.
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
/* Quick start command banner on homepage */
|
||||
.quick-start-banner {
|
||||
max-width: 640px;
|
||||
margin: -16px auto 48px;
|
||||
padding: 0 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.quick-start-banner div[class*="language-"] {
|
||||
margin: 0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* Hide the three-dots extra menu - its contents are now in the navbar directly */
|
||||
.VPNavBarExtra {
|
||||
display: none !important;
|
||||
|
||||
@@ -5,7 +5,7 @@ ashim ships as a single Docker image that works on all platforms.
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
docker run -d -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
docker run -d --name ashim -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
```
|
||||
|
||||
The app is available at `http://localhost:1349`.
|
||||
@@ -15,7 +15,7 @@ The app is available at `http://localhost:1349`.
|
||||
The image includes CUDA support on amd64. If you have an NVIDIA GPU with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) installed, add `--gpus all`:
|
||||
|
||||
```bash
|
||||
docker run -d --gpus all -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
docker run -d --name ashim --gpus all -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
```
|
||||
|
||||
The image auto-detects your GPU at runtime. Without `--gpus all`, it runs on CPU. Same image either way.
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
docker run -d -p 1349:1349 -v ashim-data:/data ghcr.io/ashim-hq/ashim:latest
|
||||
docker run -d --name ashim -p 1349:1349 -v ashim-data:/data ghcr.io/ashim-hq/ashim:latest
|
||||
```
|
||||
|
||||
Open [http://localhost:1349](http://localhost:1349) in your browser.
|
||||
|
||||
::: tip Also on Docker Hub
|
||||
```bash
|
||||
docker run -d -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
docker run -d --name ashim -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
|
||||
```
|
||||
|
||||
Both registries publish the same image on every release.
|
||||
@@ -29,7 +29,7 @@ You will be asked to change your password on first login.
|
||||
Add `--gpus all` for GPU-accelerated background removal, upscaling, OCR, face enhancement, and restoration:
|
||||
|
||||
```bash
|
||||
docker run -d -p 1349:1349 --gpus all -v ashim-data:/data ashimhq/ashim:latest
|
||||
docker run -d --name ashim -p 1349:1349 --gpus all -v ashim-data:/data ashimhq/ashim:latest
|
||||
```
|
||||
|
||||
Requires the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html). Falls back to CPU automatically. See [Docker Tags](/guide/docker-tags) for benchmarks.
|
||||
|
||||
@@ -27,3 +27,11 @@ features:
|
||||
- title: Teams & Access Control
|
||||
details: Multi-user support with admin/user roles, team grouping, per-resource permissions, and audit logging for all sensitive actions.
|
||||
---
|
||||
|
||||
<div class="quick-start-banner">
|
||||
|
||||
```bash
|
||||
docker run -d --name ashim -p 1349:1349 -v ashim-data:/data ghcr.io/ashim-hq/ashim:latest
|
||||
```
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user