Docker Compose Install - ERROR: missing signature key #1045

Closed
opened 2026-02-21 17:29:40 -05:00 by yindo · 4 comments
Owner

Originally created by @lhyphendixon on GitHub (Feb 10, 2024).

Self Checks

Dify version

0.5.4

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I'm trying to install via docker compose following the instructions on the guide below. When I try to run docker-compose up -d, I am getting: ERROR: missing signature key . I have ensured I have an adequate version of docker-compose. I'm using CentOS, if that helps at all.

https://docs.dify.ai/getting-started/install-self-hosted/docker-compose

✔️ Expected Behavior

To complete the install.

Actual Behavior

ERROR: missing signature key

Originally created by @lhyphendixon on GitHub (Feb 10, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). ### Dify version 0.5.4 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I'm trying to install via docker compose following the instructions on the guide below. When I try to run docker-compose up -d, I am getting: ERROR: missing signature key . I have ensured I have an adequate version of docker-compose. I'm using CentOS, if that helps at all. https://docs.dify.ai/getting-started/install-self-hosted/docker-compose ### ✔️ Expected Behavior To complete the install. ### ❌ Actual Behavior ERROR: missing signature key
yindo added the 🐞 bug📚 documentation labels 2026-02-21 17:29:40 -05:00
yindo closed this issue 2026-02-21 17:29:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 10, 2024):

🤖

Hey there, @lhyphendixon! Good to see you back. Having a bit of a hiccup, are we? Let's see what we can do about that.

The error message "ERROR: missing signature key" typically indicates that the Docker image you're trying to pull from the Docker registry is missing a required signature key. This could be due to a few reasons:

  1. The Docker image was not signed: Docker Content Trust (DCT) allows operations with a remote Docker registry to enforce client-side signing and verification of image tags. If the image was not signed during the push operation, you won't be able to pull it if DCT is enabled.

  2. Docker Content Trust is enabled on your machine: If DCT is enabled on your machine (DOCKER_CONTENT_TRUST=1), Docker requires all images to be signed. You can check if DCT is enabled by running echo $DOCKER_CONTENT_TRUST in your terminal. If it returns 1, DCT is enabled.

To resolve this issue, you can try the following:

  1. Disable Docker Content Trust: If you trust the source of the image and you're sure it's safe to use, you can temporarily disable DCT by running export DOCKER_CONTENT_TRUST=0 in your terminal before pulling the image.

  2. Contact the image maintainer: If disabling DCT is not an option, you should contact the maintainer of the Docker image and ask them to sign it.

Please note that disabling DCT might expose you to risks such as image spoofing and/or tampering. Always ensure that you trust the source of the Docker image before disabling DCT.

As per the Dockerfile provided in the dify repository, the Docker image for dify version 0.5.4 does not require a signature key for installation. The Dockerfile mainly consists of steps to set up the environment, install necessary packages, copy files, and set the entrypoint, but none of these steps involve a signature key. You can review the Dockerfile here.

If you continue to experience issues, please provide more details about the error message and the steps you've taken so far.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot[bot] commented on GitHub (Feb 10, 2024): _🤖_ <!-- Greeting --> Hey there, @lhyphendixon! Good to see you back. Having a bit of a hiccup, are we? Let's see what we can do about that. <!-- Answer --> The error message "ERROR: missing signature key" typically indicates that the Docker image you're trying to pull from the Docker registry is missing a required signature key. This could be due to a few reasons: 1. The Docker image was not signed: Docker Content Trust (DCT) allows operations with a remote Docker registry to enforce client-side signing and verification of image tags. If the image was not signed during the push operation, you won't be able to pull it if DCT is enabled. 2. Docker Content Trust is enabled on your machine: If DCT is enabled on your machine (`DOCKER_CONTENT_TRUST=1`), Docker requires all images to be signed. You can check if DCT is enabled by running `echo $DOCKER_CONTENT_TRUST` in your terminal. If it returns `1`, DCT is enabled. To resolve this issue, you can try the following: 1. Disable Docker Content Trust: If you trust the source of the image and you're sure it's safe to use, you can temporarily disable DCT by running `export DOCKER_CONTENT_TRUST=0` in your terminal before pulling the image. 2. Contact the image maintainer: If disabling DCT is not an option, you should contact the maintainer of the Docker image and ask them to sign it. Please note that disabling DCT might expose you to risks such as image spoofing and/or tampering. Always ensure that you trust the source of the Docker image before disabling DCT. As per the Dockerfile provided in the dify repository, the Docker image for dify version 0.5.4 does not require a signature key for installation. The Dockerfile mainly consists of steps to set up the environment, install necessary packages, copy files, and set the entrypoint, but none of these steps involve a signature key. You can review the Dockerfile [here](https://github.com/langgenius/dify/blob/main/api/Dockerfile). If you continue to experience issues, please provide more details about the error message and the steps you've taken so far. ## Sources - [docker/docker-compose.yaml](https://github.com/langgenius/dify/blob/main/docker/docker-compose.yaml) - [api/Dockerfile](https://github.com/langgenius/dify/blob/main/api/Dockerfile) <!-- Dosu Comment Footer --> <details open> <summary> #### About Dosu </summary> This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. </details>
Author
Owner

@crazywoola commented on GitHub (Feb 11, 2024):

See this for details https://github.com/louislam/uptime-kuma/issues/3777

@crazywoola commented on GitHub (Feb 11, 2024): See this for details https://github.com/louislam/uptime-kuma/issues/3777
Author
Owner

@lhyphendixon commented on GitHub (Feb 11, 2024):

Apologies, I searched but I guess I only searched the open issues. All good after an update. Thanks so much!

@lhyphendixon commented on GitHub (Feb 11, 2024): Apologies, I searched but I guess I only searched the open issues. All good after an update. Thanks so much!
Author
Owner

@NasirUddinNasir commented on GitHub (Aug 22, 2024):

didn't work

@NasirUddinNasir commented on GitHub (Aug 22, 2024): didn't work
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1045