Error mounting known_hosts file when starting Docker Compose application #1107
|
Hi, Cannot start Docker Compose application. Reason: compose [start] exit status 1. Container magento-rabbitmq-1 Starting Container magento-redis-1 Starting Container magento-db-1 Starting Container magento-opensearch-1 Starting Container magento-mailcatcher-1 Starting Container magento-mailcatcher-1 Started Container magento-opensearch-1 Started Container magento-rabbitmq-1 Started Container magento-db-1 Started Container magento-phpmyadmin-1 Starting Container magento-redis-1 Started Container magento-redis-1 Waiting Container magento-opensearch-1 Waiting Container magento-rabbitmq-1 Waiting Container magento-db-1 Waiting Container magento-phpmyadmin-1 Started Container magento-opensearch-1 Healthy Container magento-redis-1 Healthy Container magento-db-1 Healthy Container magento-rabbitmq-1 Healthy Container magento-phpfpm-1 Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/host_mnt/Users/yohan/.ssh/known_hosts" to rootfs at "/var/www/.ssh/known_hosts": mount /host_mnt/Users/yohan/.ssh/known_hosts:/var/www/.ssh/known_hosts (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 I think I have correct permission ls -la /Users/yohan/.ssh I tried to comment out those but still get same error volumes: &appvolumes |
Replies: 1 comment 2 replies
|
I ran |
I ran
bin/removeand thenbin/startand it worked for me