[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.
rm -rf /etc/timezone
echo "Europe/Paris" > /etc/timezone
Hi :)You can try this:
rm -rf /etc/timezone
echo "Europe/Paris" > /etc/timezone
Replace "Europe/Paris" by your own timezone (of course).