Skip to content

Guide

Pull the LyEve images from ghcr.io, and fix a failed pull

Both LyEve images pull from GitHub's container registry with no login. Which tag to pin, how to pin a digest, and the fix for each error a pull prints.

On this page

Both of LyEve's Docker images are public on GitHub's container registry, ghcr.io, and Docker pulls them without a GitHub account or a token. Pull both, pin each to a version or a digest, and keep the fix for each error a pull can print.

The engine is ghcr.io/lyeve-labs/lyeve-core and LyEve Console is ghcr.io/lyeve-labs/lyeve-console. Neither pull needs docker login.

What we ran it on

We ran every command on November 11, 2026, on an x86_64 machine with Ubuntu 26.04.1 LTS, Docker Engine 29.9.3 and buildx v0.38.1. The images were the LyEve engine v0.62.0 and admin console v0.28.0.

Each pull ran with an empty Docker configuration, holding no credential of any kind.

What you need

  • Docker Engine. Docker's install guide covers each distribution.
  • curl, to read the list of tags.
  • A 64-bit machine: amd64 or arm64.

1. Pull both images

Shell
docker pull ghcr.io/lyeve-labs/lyeve-core:0.62.0
docker pull ghcr.io/lyeve-labs/lyeve-console:0.28.0
0.62.0: Pulling from lyeve-labs/lyeve-core
Digest: sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a
Status: Image is up to date for ghcr.io/lyeve-labs/lyeve-core:0.62.0
ghcr.io/lyeve-labs/lyeve-core:0.62.0
0.28.0: Pulling from lyeve-labs/lyeve-console
Digest: sha256:7eb70a3125376626a4c1c5c6fda8a18844c51c32b69f1be51274d257a0847c4e
Status: Image is up to date for ghcr.io/lyeve-labs/lyeve-console:0.28.0
ghcr.io/lyeve-labs/lyeve-console:0.28.0

Because our machine already held both images, Docker checked the registry and printed Image is up to date. On a machine without them, Docker lists each layer as it downloads. The Digest line is the same either way.

If the pull prints denied, open the first two entries under When a pull fails.

2. Choose a tag

An image can carry four kinds of tag:

  • An exact version, such as 0.62.0. It names one release, and later releases leave it alone. Pin this in production.
  • A minor line, such as 0.62. It moves to each patch release of that line.
  • latest. It moves to each new stable release.
  • A release candidate, which ends in -rc. and a number. It is for testing a release before it ships, never for production. On the day we ran this, neither image listed one.

Image tags carry no leading v, although the source repositories tag each release with one.

The registry lists the tags to anyone. These two commands ask for an anonymous token, then print the newest exact version:

Shell
TOKEN=$(curl -s "https://ghcr.io/token?scope=repository:lyeve-labs/lyeve-core:pull" | cut -d\" -f4)
curl -s -H "Authorization: Bearer $TOKEN" https://ghcr.io/v2/lyeve-labs/lyeve-core/tags/list \
  | grep -oE '"[0-9]+\.[0-9]+\.[0-9]+"' | tr -d '"' | sort -V | tail -n 1
0.62.0

Replace lyeve-core with lyeve-console in both commands for the console. Ours printed 0.28.0. Drop everything from | grep on to see every tag.

3. Pin a digest

A tag is a name that can point at a new build. A digest is the hash of the image itself, so a pull by digest returns the same bytes every time. Read it with buildx:

Shell
docker buildx imagetools inspect ghcr.io/lyeve-labs/lyeve-core:0.62.0 | grep -E 'Digest:|Platform:'
Digest:    sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a
  Platform:    linux/amd64
  Platform:    unknown/unknown
  Platform:    linux/arm64
  Platform:    unknown/unknown

The first line is the digest of the whole image, every platform included. Pull by it with @ in place of : and the tag:

Shell
docker pull ghcr.io/lyeve-labs/lyeve-core@sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a
ghcr.io/lyeve-labs/lyeve-core@sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a: Pulling from lyeve-labs/lyeve-core
Digest: sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a
Status: Image is up to date for ghcr.io/lyeve-labs/lyeve-core@sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a
ghcr.io/lyeve-labs/lyeve-core@sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a

The same image: value works in a Compose file. The console's digest for 0.28.0 is sha256:7eb70a3125376626a4c1c5c6fda8a18844c51c32b69f1be51274d257a0847c4e.

On the day we ran this, 0.62.0, 0.62 and latest all pointed at the same engine digest:

Shell
for t in 0.62.0 0.62 latest; do
  printf '%s ' $t
  docker buildx imagetools inspect ghcr.io/lyeve-labs/lyeve-core:$t --format '{{json .Manifest.Digest}}'
  echo
done
0.62.0 "sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a"
0.62 "sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a"
latest "sha256:e4b8e518af0452a99c5b34f9115c2fdb177efd1e4458f294a15e9a155277e77a"

The next release moves latest and leaves 0.62.0 and the digest where they are.

4. Check the platforms

The output in step 3 lists every platform under the tag. Both images are built for linux/amd64 and linux/arm64. The two unknown/unknown entries are build attestations, records of how the image was built, and not images you can run.

Docker picks the platform that matches the machine. To see which one that is:

Shell
docker version --format '{{.Server.Os}}/{{.Server.Arch}}'
linux/amd64

The console's image lists the same two platforms.

Which hosts a pull reaches

A pull talks to two hosts, both over HTTPS on port 443:

  • ghcr.io hands out the token and serves the tag lists and manifests.
  • pkg-containers.githubusercontent.com serves the layers.

The registry answers a layer request with a redirect to the second host:

Shell
TOKEN=$(curl -s "https://ghcr.io/token?scope=repository:lyeve-labs/lyeve-core:pull" | cut -d\" -f4)
curl -s -o /dev/null -w '%{http_code} %{redirect_url}\n' -H "Authorization: Bearer $TOKEN" \
  https://ghcr.io/v2/lyeve-labs/lyeve-core/blobs/sha256:2cc7ee286bf3a9e6af5f71756d7fc8e22e23ce65fec9047d774511ffcef79fa8 \
  | cut -d/ -f1-3
307 https://pkg-containers.githubusercontent.com

A firewall or proxy allowlist needs both hosts, because the layers never come from ghcr.io itself. Docker's daemon makes the pull, not the docker command. Set a proxy in the daemon's settings, which Docker's proxy guide covers.

When a pull fails

The pull prints Error response from daemon: error from registry: denied, and you once ran docker login ghcr.io

Docker sends the credential it stores for ghcr.io with every pull from ghcr.io, a public image included. When GitHub refuses that credential, the pull fails before it reaches the image. An anonymous pull of the same image works.

We stored a made-up credential for ghcr.io and pulled. Docker printed the line above, and Docker Compose printed this:

 Image ghcr.io/lyeve-labs/lyeve-core:0.62.0 Error error from registry: denied

docker buildx imagetools inspect names the refusal more plainly:

ERROR: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://ghcr.io/token?scope=repository%3Alyeve-labs%2Flyeve-core%3Apull&service=ghcr.io: 403 Forbidden

Check whether Docker holds an entry for ghcr.io:

Shell
grep -o '"ghcr.io"' "${DOCKER_CONFIG:-$HOME/.docker}/config.json"

It prints "ghcr.io" when it does. Remove the entry, then pull again:

Shell
docker logout ghcr.io
docker pull ghcr.io/lyeve-labs/lyeve-core:0.62.0

docker logout prints Removing login credentials for ghcr.io, and the pull then succeeds. Log in again later with a token GitHub accepts if you push images of your own there.

To keep the stored credential and still pull, give one command an empty configuration:

Shell
DOCKER_CONFIG=$(mktemp -d) docker pull ghcr.io/lyeve-labs/lyeve-core:0.62.0
The pull prints denied, and Docker holds no credential for ghcr.io

The repository name is wrong. The registry refuses a token for a repository it does not hold, so a misspelled name reads as denied, not as not found. We pulled lyeve-labs/lyeve-engine and saw this:

Error response from daemon: error from registry: denied
denied

The two names are ghcr.io/lyeve-labs/lyeve-core for the engine and ghcr.io/lyeve-labs/lyeve-console for the console.

The pull prints failed to resolve reference and ends in not found

The tag does not exist. The usual cause is a leading v, copied from the release notes:

Error response from daemon: failed to resolve reference "ghcr.io/lyeve-labs/lyeve-core:v0.62.0": ghcr.io/lyeve-labs/lyeve-core:v0.62.0: not found

Drop the v and pull ghcr.io/lyeve-labs/lyeve-core:0.62.0. Step 2 prints the tags that exist.

The pull prints invalid reference format: repository name (LyEve-Labs/lyeve-core) must be lowercase

Docker refuses capital letters in an image name before it asks the registry. Write the whole name in lowercase: ghcr.io/lyeve-labs/lyeve-core.

The pull prints no matching manifest for linux/arm/v7 in the manifest list entries

The pull asked for linux/arm/v7, the platform of a 32-bit ARM system. The images are built for linux/amd64 and linux/arm64 only. We asked for that platform and saw the full line:

Error response from daemon: no matching manifest for linux/arm/v7 in the manifest list entries: no match for platform in manifest: not found

Run a 64-bit system on the machine, or pull on an amd64 or arm64 machine. Step 4 shows how to read the platform Docker reports.

Start LyEve on your database

LyEve runs on PostgreSQL, MySQL 8.0 or 8.4, and SQL Server 2019 or later, Azure SQL included. On SQL Server, turn on read committed snapshot isolation before the engine starts: Installation shows how.

Create a database and a user for LyEve. Then keep only your database's DATABASE_URL line uncommented, fill in its host and password, and start the engine on the free tier:

Shell
DATABASE_URL="postgres://lyeve:<password>@db.example.com:5432/lyeve?sslmode=require"
# DATABASE_URL="mysql://lyeve:<password>@tcp(db.example.com:3306)/lyeve?parseTime=true"
# DATABASE_URL="sqlserver://lyeve:<password>@db.example.com:1433?database=lyeve"

docker run -d --name lyeve-engine \
  -e APP_ENV=development \
  -e DATABASE_URL="$DATABASE_URL" \
  -e JWT_SECRET="$(openssl rand -hex 32)" \
  -e ENCRYPTION_KEY="$(openssl rand -hex 32)" \
  -p 3001:3001 -p 3002:3002 \
  ghcr.io/lyeve-labs/lyeve-core:0.62.0

The command runs the exact version this guide pinned. The engine reads which database it talks to from the scheme and creates its tables on first start.

To run the engine and the console together behind TLS, follow Self-host a headless CMS on a VPS with Docker Compose.