dcm4chee docker-compose file having problem

550 views
Skip to first unread message

Haofei FENG

unread,
Sep 26, 2018, 8:47:33 AM9/26/18
to dcm4che

Hi all,

I have installed docker 18.06.1-ce on my machine, however, when I tried to run the "docker-compose" following  the "Run minimum set of archive services on a single host" on https://github.com/dcm4che/dcm4chee-arc-light/wiki/Run-minimum-set-of-archive-services-on-a-single-host#optional-create-system-groups-and-users-with-particular-group-and-user-ids-used-by-the-archive-services-on-the-host

i am having the below problem. 

Is there any advice on this 

[root@ip-10-86-15-153 ~]# docker version

Client:

 Version:           18.06.1-ce

 API version:       1.38

 Go version:        go1.10.3

 Git commit:        e68fc7a

 Built:             Tue Aug 21 17:23:03 2018

 OS/Arch:           linux/amd64

 Experimental:      false


Server:

 Engine:

  Version:          18.06.1-ce

  API version:      1.38 (minimum version 1.12)

  Go version:       go1.10.3

  Git commit:       e68fc7a

  Built:            Tue Aug 21 17:25:29 2018

  OS/Arch:          linux/amd64

  Experimental:     false



[root@ip-10-86-15-153 ~]# docker-compose -p dcm4chee up -d

Starting dcm4chee_db_1 ... 

Starting dcm4chee_ldap_1 ... error


ERROR: for dcm4chee_ldap_1  Cannot start service ldap: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/timezone\\\" to rootfs \\\"/var/lib/docker/overlay2/f581a54405f14d8ee2a06430a57875bbd1d7b4a99f3580fed62162199d5bfde0/merged\\\" at \\\"/var/lib/docker/overlay2/f581a54405f14d8ee2a06430a57875bbd1d7b4a99f3580fed62162199d5bfde0/merged/etc/timezone\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? CheckStarting dcm4chee_db_1 ... error


ERROR: for dcm4chee_db_1  Cannot start service db: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/timezone\\\" to rootfs \\\"/var/lib/docker/overlay2/363d8b413bef2d0196fdb4a55cecbce0dac7203a4a9eb601cc57a09cb2304cd8/merged\\\" at \\\"/var/lib/docker/overlay2/363d8b413bef2d0196fdb4a55cecbce0dac7203a4a9eb601cc57a09cb2304cd8/merged/etc/timezone\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type


ERROR: for ldap  Cannot start service ldap: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/timezone\\\" to rootfs \\\"/var/lib/docker/overlay2/f581a54405f14d8ee2a06430a57875bbd1d7b4a99f3580fed62162199d5bfde0/merged\\\" at \\\"/var/lib/docker/overlay2/f581a54405f14d8ee2a06430a57875bbd1d7b4a99f3580fed62162199d5bfde0/merged/etc/timezone\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type


ERROR: for db  Cannot start service db: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/timezone\\\" to rootfs \\\"/var/lib/docker/overlay2/363d8b413bef2d0196fdb4a55cecbce0dac7203a4a9eb601cc57a09cb2304cd8/merged\\\" at \\\"/var/lib/docker/overlay2/363d8b413bef2d0196fdb4a55cecbce0dac7203a4a9eb601cc57a09cb2304cd8/merged/etc/timezone\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: Encountered errors while bringing up the project.

Aloïs Dreyfus

unread,
Sep 26, 2018, 9:36:25 AM9/26/18
to dcm...@googlegroups.com
Hi :)

You can try this:

rm -rf /etc/timezone
echo "Europe/Paris" > /etc/timezone

Replace "Europe/Paris" by your own timezone (timedatectl list-timezones to have a list of valid timezones).

Haofei FENG

unread,
Sep 26, 2018, 9:20:14 PM9/26/18
to dcm4che
Hi Alois,

Thanks for your help! It worked straightaway!! 


On Wednesday, September 26, 2018 at 11:36:25 PM UTC+10, Aloïs Dreyfus wrote:
Hi :)

You can try this:

rm -rf /etc/timezone
echo
"Europe/Paris" > /etc/timezone

Replace "Europe/Paris" by your own timezone (of course).

Aloïs Dreyfus

unread,
Sep 27, 2018, 4:11:53 AM9/27/18
to dcm4che
Great ^^

Haofei FENG

unread,
Oct 12, 2018, 9:23:02 PM10/12/18
to dcm4che
Hi,

WIth the "Run-minimum-set-of-archive-services-on-a-single-host", where can we see the dcm4chee logs ? I couldnt find the /var/lib/dcm4chee folder in the dcm4chee container ("dcm4chee_arc_1") 

Aloïs Dreyfus

unread,
Oct 24, 2018, 6:05:39 AM10/24/18
to dcm...@googlegroups.com
Hi,

According to the docker-compose.yml that is proposed on this page, the directory /opt/wildfly/standalone of the arc container is externalized on /var/local/dcm4chee-arc/wildfly. 
So I would say the logs should be in /var/local/dcm4chee-arc/wildfly/standalone/log/.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages