Replies: 1 comment 2 replies
-
I ran |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I get this error when attempting to start docker magento
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
total 40
drwx------@ 7 yohan staff 224 Apr 8 19:35 .
drwxr-x---+ 26 yohan staff 832 Apr 9 18:54 ..
-rw------- 1 yohan staff 145 Apr 8 17:41 config
-rw-------@ 1 yohan staff 3389 Mar 17 11:20 id_rsa
-rw-r--r--@ 1 yohan staff 746 Mar 17 11:20 id_rsa.pub
-rw-------@ 1 yohan staff 1446 Apr 6 10:30 known_hosts
-rw-------@ 1 yohan staff 501 Apr 5 17:56 known_hosts.old
I tried to comment out those but still get same error
volumes: &appvolumes
- ~/.composer:/var/www/.composer:cached
#- ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached
#- ~/.ssh/known_hosts:/var/www/.ssh/known_hosts:cached
Beta Was this translation helpful? Give feedback.
All reactions