Docker
The recommended installation method is with Docker. If you're not familiar with Docker you can learn more here.
P2G offers two main flavors of docker images:
Flavor | Support Garmin 2-Step Verification | Support Automatic Syncing |
---|---|---|
Web UI | yes | only when Garmin 2fa is disabled |
Docker Headless | partial | only when Garmin 2fa is disabled |
Image Repositories
P2G publishes Docker images to both DockerHub and GitHub Package.
Tags
P2G ships several different flavors of containers that can be combined with a version tag:
Image flavors
console
- The headless version of P2G, simple console applicationapi
- Used in conjunction with thewebui
image, provides the API and server for P2G user interfacewebui
- Used in conjunction with theapi
image, provides a P2G web user interface
Version tags
stable
- Always points to the latest releasev{X}
/v3
/v4
- Always points to the latest of the current major versionlatest
- The bleeding edge of the master branch, breaking changes may happenvX.Y.Z
- For using a specific released version
Using Flavor and Version Tag
In the below examples, you can substitute console
for any Image Flavor.
console-latest
console-stable
console-v4
console-v3.6.0
Docker User
The P2G images run the process under the user and group p2g:p2g
with uid and gid 1015:1015
. To access files created by p2g
:
- Create a group on the local machine
p2g
with group id1015
- Add your user on the local machine to the
p2g
group
More about Docker
Docker provides an easy and consistent way to install, update, and uninstall applications across multiple Operating Systems. Docker is extremely popular in the self-hosted community, a group interested in minimizing dependencies on Cloud providers in favor of attempting to keep their data local, private, and free. You can learn more about the ever growing list of self-hosted applications on the awesome-selfhosted list.
To learn more about Docker head on over to their website.
Mac / Windows Docker Quick Start
- Download and install Docker Desktop, this will give you all the tools you need and a handy UI for managing docker containers
- Follow the remaining instructions here