Hello Guys,
I am facing issues mounting my docker containers, I am a new user of a docker and lack knowledge on it. It would be great if someone can guide me in fixing this error.
Below is the error I got.
> [root@hector metasfresh-docker]# docker-compose up -d
> Starting metasfresh-docker_rabbitmq_1 ... error
> Starting metasfresh-docker_search_1 ...
> Starting metasfresh-docker_db_1 ...
>
> ERROR: for metasfresh-docker_rabbitmq_1 Cannot start service rabbitmq: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/3d6e608c75b7d0836ab44c17ea37ba46d485a4976aab9e926e3b38507333ad57/merged\\\\\\" at \\\\\\"/var/lib/docker/overlayStarting metasfresh-docker_search_1 ... error
> Check if the specified host path exists and is the expected type'
>
> ERROR: for metasfresh-docker_search_1 Cannot start service search: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/ad4f991de4be2454bdb9f9793f215d53b08518c71cfa5eb57f39a0eb2f1bcbcb/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/ad4f991de4be2454bdb9f9793f215d53b08518c71cfa5eb57f39a0eb2f1bcbcb/merged/etc/timezone\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? CheStarting metasfresh-docker_db_1 ... error
>
> ERROR: for metasfresh-docker_db_1 Cannot start service db: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/1d73472c756be19b2334f625c8e1c9c4db510e6ec39278524e7a69feccb90e3d/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/1d73472c756be19b2334f625c8e1c9c4db510e6ec39278524e7a69feccb90e3d/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 rabbitmq Cannot start service rabbitmq: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/3d6e608c75b7d0836ab44c17ea37ba46d485a4976aab9e926e3b38507333ad57/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/3d6e608c75b7d0836ab44c17ea37ba46d485a4976aab9e926e3b38507333ad57/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 search Cannot start service search: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/ad4f991de4be2454bdb9f9793f215d53b08518c71cfa5eb57f39a0eb2f1bcbcb/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/ad4f991de4be2454bdb9f9793f215d53b08518c71cfa5eb57f39a0eb2f1bcbcb/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: b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/etc/timezone\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/1d73472c756be19b2334f625c8e1c9c4db510e6ec39278524e7a69feccb90e3d/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/1d73472c756be19b2334f625c8e1c9c4db510e6ec39278524e7a69feccb90e3d/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.
Please let me know if you have any idea about this issue.
Thanks!!