[GH-ISSUE #510] Docker Compose Up Not working #327

Closed
opened 2026-03-02 11:48:51 +03:00 by kerem · 5 comments
Owner

Originally created by @hassanraha on GitHub (Oct 7, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/510

Hi folks,

I am trying to self host hoarder in my laptop. I was following the steps given here: https://docs.hoarder.app/Installation/docker/

But I am getting the following error when I run docker compose up

docker compose up --pull always -d
[+] Running 3/3
 ✘ chrome Error      context canceled                                                                                                                                                                                      1.9s 
 ✘ meilisearch Error context canceled                                                                                                                                                                                      1.9s 
 ✘ web Error         Head "https://ghcr.io/v2/hoarder-app/hoarder/manifests/release": denied: denied                                                                                                                       1.9s 
Error response from daemon: Head "https://ghcr.io/v2/hoarder-app/hoarder/manifests/release": denied: denied

What could be the issue? I tried hitting the URL of container but it still says unauthorized. Do I need to get cred from somewhere?

Originally created by @hassanraha on GitHub (Oct 7, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/510 Hi folks, I am trying to self host hoarder in my laptop. I was following the steps given here: https://docs.hoarder.app/Installation/docker/ But I am getting the following error when I run `docker compose up` ``` docker compose up --pull always -d [+] Running 3/3 ✘ chrome Error context canceled 1.9s ✘ meilisearch Error context canceled 1.9s ✘ web Error Head "https://ghcr.io/v2/hoarder-app/hoarder/manifests/release": denied: denied 1.9s Error response from daemon: Head "https://ghcr.io/v2/hoarder-app/hoarder/manifests/release": denied: denied ``` What could be the issue? I tried hitting the URL of container but it still says unauthorized. Do I need to get cred from somewhere?
kerem 2026-03-02 11:48:51 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MohamedBassem commented on GitHub (Oct 7, 2024):

hmmm, that's weird. No you're not supposed to get creds from anywhere and it should have just worked.

<!-- gh-comment-id:2398049836 --> @MohamedBassem commented on GitHub (Oct 7, 2024): hmmm, that's weird. No you're not supposed to get creds from anywhere and it should have just worked.
Author
Owner

@MohamedBassem commented on GitHub (Oct 7, 2024):

Can you share your docker compose?

<!-- gh-comment-id:2398051798 --> @MohamedBassem commented on GitHub (Oct 7, 2024): Can you share your docker compose?
Author
Owner

@hassanraha commented on GitHub (Oct 8, 2024):

Below is the docker-compose.yml and I have set all my envs in .env

version: "3.8"
services:
  web:
    image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release}
    restart: unless-stopped
    volumes:
      - data:/data
    ports:
      - 3000:3000
    env_file:
      - .env
    environment:
      MEILI_ADDR: http://meilisearch:7700
      BROWSER_WEB_URL: http://chrome:9222
      # OPENAI_API_KEY: ...
      DATA_DIR: /data
  chrome:
    image: gcr.io/zenika-hub/alpine-chrome:123
    restart: unless-stopped
    command:
      - --no-sandbox
      - --disable-gpu
      - --disable-dev-shm-usage
      - --remote-debugging-address=0.0.0.0
      - --remote-debugging-port=9222
      - --hide-scrollbars
  meilisearch:
    image: getmeili/meilisearch:v1.6
    restart: unless-stopped
    env_file:
      - .env
    environment:
      MEILI_NO_ANALYTICS: "true"
    volumes:
      - meilisearch:/meili_data

volumes:
  meilisearch:
  data:
<!-- gh-comment-id:2398919333 --> @hassanraha commented on GitHub (Oct 8, 2024): Below is the docker-compose.yml and I have set all my envs in `.env` ```yaml version: "3.8" services: web: image: ghcr.io/hoarder-app/hoarder:${HOARDER_VERSION:-release} restart: unless-stopped volumes: - data:/data ports: - 3000:3000 env_file: - .env environment: MEILI_ADDR: http://meilisearch:7700 BROWSER_WEB_URL: http://chrome:9222 # OPENAI_API_KEY: ... DATA_DIR: /data chrome: image: gcr.io/zenika-hub/alpine-chrome:123 restart: unless-stopped command: - --no-sandbox - --disable-gpu - --disable-dev-shm-usage - --remote-debugging-address=0.0.0.0 - --remote-debugging-port=9222 - --hide-scrollbars meilisearch: image: getmeili/meilisearch:v1.6 restart: unless-stopped env_file: - .env environment: MEILI_NO_ANALYTICS: "true" volumes: - meilisearch:/meili_data volumes: meilisearch: data: ```
Author
Owner

@hassanraha commented on GitHub (Oct 8, 2024):

I think found the issue, it was my github pat expired. I did not know public packages also required active PAT. Now successfully deployed locally using docker. Closing the issue.

<!-- gh-comment-id:2399768834 --> @hassanraha commented on GitHub (Oct 8, 2024): I think found the issue, it was my github pat expired. I did not know public packages also required active PAT. Now successfully deployed locally using docker. Closing the issue.
Author
Owner

@beljim commented on GitHub (Dec 23, 2024):

I have the same error with same default compose. Any update on the reason why.?

<!-- gh-comment-id:2558676854 --> @beljim commented on GitHub (Dec 23, 2024): I have the same error with same default compose. Any update on the reason why.?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#327
No description provided.