Skip to content

compose build fails due to progress=tty #154

@sumitc96

Description

@sumitc96

Describe the bug
Tried to switch over to dockman from portainer and ran into compose build issue.

Here's the stack I am trying to run:

services:
  frigate:
    container_name: frigate_140
    #privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    build:
      context: .
      dockerfile_inline: |
        FROM ghcr.io/blakeblackshear/frigate:0.16.3 AS builder
        RUN wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.36/intel-opencl-icd-legacy1_24.35.30872.36_amd64.deb
        RUN wget https://github.com/intel/compute-runtime/releases/download/24.35.30872.36/intel-level-zero-gpu-legacy1_1.5.30872.36_amd64.deb
        RUN wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-opencl_1.0.17537.24_amd64.deb
        RUN wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17537.24/intel-igc-core_1.0.17537.24_amd64.deb
        RUN dpkg -i *.deb
        RUN dpkg --purge intel-level-zero-gpu intel-opencl-icd
    deploy:
      resources:
        limits:
          memory: 2048m
    # image: ghcr.io/blakeblackshear/frigate:0.14.1
    cap_add:
      - CAP_PERFMON
    shm_size: "128mb" # update for your cameras based on calculation above
    devices:
      - /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
      - /dev/dri/card0 # for intel hwaccel, needs to be updated for your hardware
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /opt/docker/frigate/config.yml:/config/config.yml
      #- /opt/docker/frigate/go2rtc:/config/go2rtc
      #- /opt/docker/frigate:/usr/lib/btbn-ffmpegnew:ro
      #- /opt/docker/frigate/storage:/media/frigate
      - /opt/docker/frigate/storage/db:/db
      - /opt/docker/frigate/storage/models:/openvino-modelyolo
      - /shared1/frigate:/media/frigate
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "8971:8971"
      - "8554:8554" # RTSP feeds
      - "8555:8555/tcp" # WebRTC over tcp
      - "8555:8555/udp" # WebRTC over udp
      - "1984:1984/tcp"
      - "1984:1984/udp"
      - "5353:5353" #homekit
      - "51827:51827" #homekit

dockman up gives the following error:

docker-compose --progress=tty -f frigatestack/frigatestack-compose.yaml up -d -y --build --remove-orphan

`
⠋ Image frigatestack-frigate Building 0.0s
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /opt/docker/dockman/stacks/frigatestack/Dockerfile: no such file or directory

`
While in portainer and directly using docker compose works fine

docker compose -f frigatestack/frigatestack-compose.yaml up -d

Screenshots/logs

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /opt/docker/dockman/stacks/frigatestack/Dockerfile: no such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions