Good afternoon.
I have a Docker remote environment exposed via TCP:
- Rocky Linux 9
- Docker version 20.10.23 build 7155243
- 16GB RAM
- Remote development environment (Inside of the Local Area Network)
Sounds great!
I have 2 laptops, MacBook Pro M1 (2021) Ventura 13.2 with the latest Docker desktop version installed, and ThinkPad x270 with Rocky Linux 9 with the latest Docker version installed too.
Both go to remote local environments.
When I try to run docker compose -f docker-compose-local.yml up -d
I got this message on Mac, but I got the same messages for Linux:
[+] Running 2/3
⠿ Container webapp-mysql-1 Running 0.0s
⠿ Container webapp-php-1 Starting 0.4s
⠿ Container webapp-apache-1 Recreated 0.1s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/Users/sincorchetes/php-fpm.conf" to rootfs at "/opt/bitnami/php/etc/php-fpm.conf": mount /Users/sincorchetes/php-fpm.conf:/opt/bitnami/php/etc/php-fpm.conf (via /proc/self/fd/6), flags: 0x5000: 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
However, If I clone the repository and run it on the remote host, It’s working. What’s happened?