InstallationDocker Install

Docker

Kavita is officially published on 3 different container registries:

Docker is a powerful tool, but many new users can find it confusing. If you’re new to Docker, we recommend starting with the Docker Overview guide.

The easist way to understand docker compose syntax is that anything on the left side of the colon is the host machine and anything on the right side is the container.

So /volume1/storage/media/manga:/manga means that the manga folder on your host machine is being mounted to the /manga folder inside the container.

docker run --name kavita -p 5000:5000 \
-v /your/manga/directory:/manga \
-v /your/storage/directory/kavita:/kavita/config \
--restart unless-stopped \
-e TZ=Your/Timezone \
-e DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true \
-d jvmilazz0/kavita:latest

If you prefer bind mounts, you can swap out the two --volume lines with:

--mount type=volume,source=/your/storage/path/kavita,target=/config \
--mount type=volume,source=/your/storage/path/kavita,target=/data \