{"id":17183303,"url":"https://github.com/thespad/docker-kopia-server","last_synced_at":"2026-06-16T03:03:11.779Z","repository":{"id":172229880,"uuid":"649007253","full_name":"thespad/docker-kopia-server","owner":"thespad","description":"Multi-arch kopia server docker image ","archived":false,"fork":false,"pushed_at":"2026-06-07T00:39:33.000Z","size":108,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-07T02:05:52.977Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thespad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-03T13:36:54.000Z","updated_at":"2026-06-07T00:39:36.000Z","dependencies_parsed_at":"2023-10-15T20:51:31.737Z","dependency_job_id":"0df01ebd-bda7-4077-9e4c-1a01ddb05ff1","html_url":"https://github.com/thespad/docker-kopia-server","commit_stats":null,"previous_names":["thespad/docker-kopia-server"],"tags_count":108,"template":false,"template_full_name":null,"purl":"pkg:github/thespad/docker-kopia-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thespad%2Fdocker-kopia-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thespad%2Fdocker-kopia-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thespad%2Fdocker-kopia-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thespad%2Fdocker-kopia-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thespad","download_url":"https://codeload.github.com/thespad/docker-kopia-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thespad%2Fdocker-kopia-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34388669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker"],"created_at":"2024-10-15T00:40:03.799Z","updated_at":"2026-06-16T03:03:11.762Z","avatar_url":"https://github.com/thespad.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [thespad/kopia-server](https://github.com/thespad/docker-kopia-server)\n\n[![GitHub Release](https://img.shields.io/github/release/thespad/docker-kopia-server.svg?color=26689A\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/thespad/docker-kopia-server/releases)\n![Commits](https://img.shields.io/github/commits-since/thespad/docker-kopia-server/latest?color=26689A\u0026include_prereleases\u0026logo=github\u0026style=for-the-badge)\n![Image Size](https://img.shields.io/docker/image-size/thespad/kopia-server/latest?color=26689A\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=Size)\n[![Docker Pulls](https://img.shields.io/docker/pulls/thespad/kopia-server.svg?color=26689A\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=pulls\u0026logo=docker)](https://hub.docker.com/r/thespad/kopia-server)\n[![GitHub Stars](https://img.shields.io/github/stars/thespad/docker-kopia-server.svg?color=26689A\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/thespad/docker-kopia-server)\n[![Docker Stars](https://img.shields.io/docker/stars/thespad/kopia-server.svg?color=26689A\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=stars\u0026logo=docker)](https://hub.docker.com/r/thespad/kopia-server)\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/thespad/docker-kopia-server/call-check-and-release.yml?branch=main\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github\u0026label=Check%20For%20Upstream%20Updates)](https://github.com/thespad/docker-kopia-server/actions/workflows/call-check-and-release.yml)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/thespad/docker-kopia-server/call-baseimage-update.yml?branch=main\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github\u0026label=Check%20For%20Baseimage%20Updates)](https://github.com/thespad/docker-kopia-server/actions/workflows/call-baseimage-update.yml)\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/thespad/docker-kopia-server/call-build-image.yml?labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github\u0026label=Build%20Image)](https://github.com/thespad/docker-kopia-server/actions/workflows/call-build-image.yml)\n\n[Kopia](https://github.com/kopia/kopia) is a fast and secure open-source backup/restore tool that allows you to create encrypted snapshots of your data and save the snapshots to remote or cloud storage of your choice, to network-attached storage or server, or locally on your machine.\n\n## Supported Architectures\n\nOur images support multiple architectures and simply pulling `ghcr.io/thespad/kopia-server:latest` should retrieve the correct image for your arch.\n\nThe architectures supported by this image are:\n\n| Architecture | Available | Tag |\n| :----: | :----: | ---- |\n| amd64 | ✅ | latest |\n| arm64 | ✅ | latest |\n\n## Application Setup\n\nWeb UI is accessible at `http://SERVERIP:PORT`\n\nImage includes `rclone`, `sqlite` tools, and the `docker` CLI. To use docker mount the host socket into the container or use the `DOCKER_HOST` env to specify an alternative endpoint.\n\nTo mount backup snapshots as a local filesystem, a host FUSE device and `SYS_ADMIN` capability are required.\n\nFor more info see the docs for the [Kopia CLI](https://kopia.io/docs/reference/command-line/) and [Kopia Repository Server](https://kopia.io/docs/repository-server/).\n\n## Usage\n\nHere are some example snippets to help you get started creating a container.\n\n### docker-compose ([recommended](https://docs.linuxserver.io/general/docker-compose))\n\nCompatible with docker-compose v2 schemas.\n\n```yaml\n---\nservices:\n  kopia-server:\n    image: ghcr.io/thespad/kopia-server:latest\n    hostname: kopia-server\n    container_name: kopia-server\n    cap_add:\n      - SYS_ADMIN # Optional\n    environment:\n      - PUID=0\n      - PGID=0\n      - TZ=Europe/London\n      - KOPIA_HTTPS=true # Optional\n      - KOPIA_UI_USERNAME=${KOPIA_USERNAME}\n      - KOPIA_UI_PASSWORD=${KOPIA_PASSWORD}\n      - KOPIA_SERVER_USERNAME=${KOPIA_SERVER_USERNAME}\n      - KOPIA_SERVER_PASSWORD=${KOPIA_SERVER_USERNAME}\n      - KOPIA_PASSWORD=${KOPIA_REPO_PASSWORD}\n      - REFRESH_INTERVAL= # Optional\n    volumes:\n      - /path/to/appdata/config:/config\n      - /home/user:/backups/home:ro # Optional\n      - /var/lib/docker/volumes:/backups/docker:ro # Optional\n      - /mnt/backup/kopia:/repository # Optional\n      - /tmp:/tmp:shared # Optional\n      - /var/run/docker.sock:/var/run/docker.sock:ro # Optional\n    devices:\n      - /dev/fuse:/dev/fuse:rwm # Optional\n    ports:\n      - 51515:51515\n    restart: unless-stopped\n```\n\n### docker cli\n\n```shell\ndocker run -d \\\n  --name=kopia-server \\\n  --hostname=kopia-server \\\n  --cap-add=SYS_ADMIN `#Optional` \\\n  -e PUID=0 \\\n  -e PGID=0 \\\n  -e TZ=Europe/London \\\n  -e KOPIA_HTTPS=true `#Optional` \\\n  -e KOPIA_UI_USERNAME=${KOPIA_USERNAME} \\\n  -e KOPIA_UI_PASSWORD=${KOPIA_PASSWORD} \\\n  -e KOPIA_SERVER_USERNAME=${KOPIA_SERVER_USERNAME}\n  -e KOPIA_SERVER_PASSWORD=${KOPIA_SERVER_USERNAME}\n  -e KOPIA_PASSWORD=${KOPIA_REPO_PASSWORD} \\\n  -e REFRESH_INTERVAL= `#optional` \\\n  -p 51515:51515 \\\n  -v /path/to/appdata/config:/config \\\n  -v /home/user:/backups/home:ro `#Optional` \\\n  -v /var/lib/docker/volumes:/backups/docker:ro `#Optional` \\\n  -v /mnt/backup/kopia:/repository `#Optional` \\\n  -v /tmp:/tmp:shared `#Optional` \\\n  -v /var/run/docker.sock:/var/run/docker.sock:ro `#Optional` \\\n  --devices /dev/fuse:/dev/fuse:rwm `#Optional` \\\n  --restart unless-stopped \\\n  ghcr.io/thespad/kopia-server\n```\n\n## Parameters\n\nContainer images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `\u003cexternal\u003e:\u003cinternal\u003e` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.\n\n| Parameter | Function |\n| :----: | --- |\n| `-p 51515` | Web UI. |\n| `--cap-add=SYS_ADMIN` | Required for mounting snapshots via FUSE. |\n| `-e PUID=0` | for UserID - see below for explanation. |\n| `-e PGID=0` | for GroupID - see below for explanation. |\n| `-e TZ=Europe/London` | Specify a timezone to use e.g. Europe/London. |\n| `-e KOPIA_HTTPS=` | Set to `true` to enable self-signed TLS for Web UI (required for remote client connections). |\n| `-e KOPIA_UI_USERNAME=` | Web UI username. |\n| `-e KOPIA_UI_PASSWORD=` | Web UI password. |\n| `-e KOPIA_SERVER_USERNAME=` | Server control username. |\n| `-e KOPIA_SERVER_PASSWORD=` | Server control password. |\n| `-e KOPIA_PASSWORD=` | Password for connecting to backup repository. |\n| `-e REFRESH_INTERVAL=` | Repository refesh interval. Increase if using metered cloud storage. Specify in h/m/s. Defaults to `300s`. |\n| `-v /config` | Contains all relevant configuration files. |\n| `-v /backups:ro` | Path(s) to files you want to back up. |\n| `-v /repository` | Backup repository location if using local/NFS repository. |\n| `-v /tmp:shared` | Temp path for mounting snapshots. Requires FUSE device and SYS_ADMIN capability. |\n| `-v /var/run/docker.sock:ro` | Path to docker socket if interacting with other containers. |\n| `--devices /dev/fuse:rwm` | Host FUSE device if using snapshot mounts. |\n\n## Environment variables from files (Docker secrets)\n\nYou can set any environment variable from a file by using a special prepend `FILE__`.\n\nAs an example:\n\n```shell\n-e FILE__PASSWORD=/run/secrets/mysecretpassword\n```\n\nWill set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.\n\n## Umask for running applications\n\nFor all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.\nKeep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.\n\n## User / Group Identifiers\n\nWhen using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.\n\nEnsure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.\n\nIn this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:\n\n```shell\n  $ id username\n    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)\n```\n\n## Support Info\n\n* Shell access whilst the container is running: `docker exec -it kopia-server /bin/bash`\n* To monitor the logs of the container in realtime: `docker logs -f kopia-server`\n\n## Updating Info\n\nMost of our images are static, versioned, and require an image update and container recreation to update the app inside. We do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.\n\nBelow are the instructions for updating containers:\n\n### Via Docker Compose\n\n* Update all images: `docker-compose pull`\n  * or update a single image: `docker-compose pull kopia-server`\n* Let compose update all containers as necessary: `docker-compose up -d`\n  * or update a single container: `docker-compose up -d kopia-server`\n* You can also remove the old dangling images: `docker image prune`\n\n### Via Docker Run\n\n* Update the image: `docker pull ghcr.io/thespad/kopia-server`\n* Stop the running container: `docker stop kopia-server`\n* Delete the container: `docker rm kopia-server`\n* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)\n* You can also remove the old dangling images: `docker image prune`\n\n### Image Update Notifications - Diun (Docker Image Update Notifier)\n\n\u003e[!TIP]\n\u003eWe recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.\n\n## Building locally\n\nIf you want to make local modifications to these images for development purposes or just to customize the logic:\n\n```shell\ngit clone https://github.com/thespad/docker-kopia-server.git\ncd docker-kopia-server\ndocker build \\\n  --no-cache \\\n  --pull \\\n  -t ghcr.io/thespad/kopia-server:latest .\n```\n\nThe arm variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`\n\n```bash\ndocker run --rm --privileged lscr.io/linuxserver/qemu-static --reset\n```\n\n## Versions\n\n* **06.12.25:** - Rebase to Alpine 3.23.\n* **25.07.25:** - Rebase to Alpine 3.22.\n* **24.01.25:** - Rebase to Alpine 3.21.\n* **26.05.24:** - Rebase to Alpine 3.20.\n* **30.12.23:** - Rebase to Alpine 3.19.\n* **01.07.23:** - Add GNU findutils.\n* **12.06.23:** - Fix arm64 build.\n* **03.05.23:** - Initial Release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthespad%2Fdocker-kopia-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthespad%2Fdocker-kopia-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthespad%2Fdocker-kopia-server/lists"}