# Docker

CrushMFT 27 runs in Docker, Podman, Docker Compose and Kubernetes from one image, `crushftp/crushmft27` on Docker Hub. This wiki explains everything about running it in containers: what the image is, how it starts, every setting, where your data lives, updates, the Helm chart for Kubernetes, health checks, logs, and what to do when something goes wrong.

## Start in one minute

```
docker run -d --name crushmft27 -p 8080:8080 -p 2222:2222 -v crushmft27:/app/CrushMFT27 crushftp/crushmft27:latest
docker logs crushmft27 | grep "first admin"
```

The second line prints the password of the admin user `crushadmin`, made at random on the first start. Open `http://localhost:8080/` and sign in. The first start takes some seconds; later starts are quicker. [Quick start](Quick-Start.md) goes through it step by step.

## What you get

| | |
|---|---|
| **The image** | `crushftp/crushmft27`, for `linux/amd64` and `linux/arm64`. A small image without a shell, a `-dev` variant with a shell and tools for looking around, and `-fips` variants for FIPS 140-3 mode. Signed, with a list of its contents (SBOM). See [Images and tags](Images.md). |
| **Your data** | everything the server keeps (users, settings, jobs, logs, keys) is in one folder, `/app/CrushMFT27`, which you mount as a volume. The image puts its version of the program there as a signed update, so the volume is a CrushMFT folder like any installation. See [Data and volumes](Data-and-Volumes.md). |
| **No known password** | the first admin gets your password (from a file or a variable) or a random one. There is no default password. |
| **Updates** | a new image tag, or CrushMFT's own updater; whichever is newer runs. See [Updates and versions](Updates-and-Versions.md). |
| **Kubernetes** | the Helm chart `crushmft27` from `https://crushftp.com/charts`. See [Kubernetes and Helm](Kubernetes.md). |
| **Health checks and logs** | readiness and liveness endpoints without a login, a health command for Docker, and the server's log on the container's output. See [Health, logs and monitoring](Health-Logs-Monitoring.md). |

## Where to start

| If you want to | Read |
|---|---|
| try it on your computer | [Quick start](Quick-Start.md) |
| run it for real with Docker | [Docker Compose](Docker-Compose.md), then [Configuration](Configuration.md) and [Data and volumes](Data-and-Volumes.md) |
| run it in Kubernetes | [Kubernetes and Helm](Kubernetes.md) |
| understand what happens at a start | [How it works](How-It-Works.md) |
| open more ports, FTP, HTTPS, a proxy | [Ports and networking](Ports-and-Networking.md) |
| keep it current or go back a version | [Updates and versions](Updates-and-Versions.md) |
| restart, back up, reset a password | [Operations](Operations.md) |
| fix something | [Troubleshooting](Troubleshooting.md) |
| check what the image does for security | [Security](Security.md) |

## CrushFTP 11

CrushFTP 11 has its own images, `crushftp/crushftp11`, and its own chart, `crushftp`. They work differently: see [CrushFTP 11 images](CrushFTP-11.md).

## Related

- [CrushMFT 27 documentation](../CrushMFT27/Main.md): the server itself, its settings and its API.
- [CrushBalance](../CrushBalance/Main.md), the load balancer for CrushMFT.
