Hello. I'm attempting to build a docker container that when run will build the indi library from PPA and start an indiserver with indi_asi_ccd used for a ZWO CCD ASI6200MM Pro. Here are the contents of the dockerfile:

FROM ubuntu:18.04

WORKDIR /indiserver

RUN apt-get update && \
    apt install -y software-properties-common && \
    apt-add-repository ppa:mutlaqja/ppa && \
    apt-get update -y && \
    apt-get install -y indi-full gsc
    
RUN mkdir -p /indiserver

COPY . .

CMD ["indiserver", "indi_asi_ccd"]

The docker container is built with
docker build -t indiserver .
and run with
docker run -it indiserver

Here is the console output when the docker container is run:
$ docker run -it indiserver
2020-06-30T18:30:16: startup: indiserver indi_asi_ccd 
^C2020-06-30T18:30:18: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 8 died
2020-06-30T18:30:18: Driver indi_asi_ccd: restart #1
^C2020-06-30T18:30:19: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"Child process 11 died
/>
2020-06-30T18:30:19: Driver indi_asi_ccd: restart #2
^CChild process 14 died
2020-06-30T18:30:20: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
2020-06-30T18:30:20: Driver indi_asi_ccd: restart #3
^C2020-06-30T18:30:21: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 17 died
2020-06-30T18:30:21: Driver indi_asi_ccd: restart #4
^C2020-06-30T18:30:21: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 20 died
2020-06-30T18:30:21: Driver indi_asi_ccd: restart #5
^C2020-06-30T18:30:21: Driver indi_asi_ccd: stderr EOF
<delPropertyChild process 23 died
 device="ZWO CCD ASI6200MM Pro"/>
2020-06-30T18:30:21: Driver indi_asi_ccd: restart #6
^C2020-06-30T18:30:22: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 26 died
2020-06-30T18:30:22: Driver indi_asi_ccd: restart #7
^C2020-06-30T18:30:22: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"Child process 29 died
/>
2020-06-30T18:30:22: Driver indi_asi_ccd: restart #8
^C2020-06-30T18:30:22: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 32 died
2020-06-30T18:30:22: Driver indi_asi_ccd: restart #9
^C2020-06-30T18:30:22: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 35 died
2020-06-30T18:30:22: Driver indi_asi_ccd: restart #10
^C2020-06-30T18:30:22: Driver indi_asi_ccd: stderr EOF
<delProperty device="ZWO CCD ASI6200MM Pro"/>
Child process 38 died
2020-06-30T18:30:22: Driver indi_asi_ccd: Terminated after #10 restarts.
2020-06-30T18:30:22: good bye

Could anyone help me fix this error? Thanks.

Read More...