> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recasaos.org/llms.txt
> Use this file to discover all available pages before exploring further.

# An app says Unhealthy

> Unhealthy means the app's own health check fails. Read it with docker inspect; for wg-easy, load the iptable_nat kernel module.

*Unhealthy* under an app's name means the health check that the app's own image defines keeps failing: the container runs, but the app inside says it is not working. The reason is in the container's health log.

## Read the reason

```bash theme={null}
sudo docker ps -a
sudo docker inspect --format '{{json .State.Health}}' <container name>
sudo docker logs --tail 100 <container name>
```

The last entries of `Health` show what the check printed.

## wg-easy

wg-easy turns *Unhealthy* when the `iptable_nat` kernel module is not loaded on the machine, because it cannot add its NAT rule. Load it now and at every start, then restart wg-easy from the dashboard:

```bash theme={null}
sudo modprobe iptable_nat
echo iptable_nat | sudo tee /etc/modules-load.d/wg-easy.conf
```

If `modprobe` fails, your kernel lacks the module: note the output of `uname -r` and ask in an issue.

Issue: [ReCasaOS/CasaOS#210](https://github.com/ReCasaOS/CasaOS/issues/210).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.