Docker documentation: https://docs.docker.com/desktop/mac/apple-silicon
E.g. only one dory container starts instead of two.
Try adding the following line(s) to your ~/.dory.yml
file:
nginx_proxy:
...
port: 80 # port 80 is default for http
tls_port: 443 # port 443 is default for https
image: taybenlor/dory-http-proxy:latest
Source: https://github.com/FreedomBen/dory/issues/49#issuecomment-923940826
As of 2022-08-26 Jeremy has the following apparently working Dory config.
If you receive the following error when pulling a Docker image:
no matching manifest for linux/arm64/v8 in the manifest list entries
First, pull each image one at a time to determine which image is failing to be pulled (e.g. dc pull web
). Once the trouble service is found, try adding platform: linux/x86_64
to it in the docker-compose.yml
file.
Example:
# mysql is known to have issues running on Apple Silicon
db:
platform: linux/x86_64
image: mysql:5.7
Source: https://stackoverflow.com/a/65592942/17045120
inotify
)If you see this error:
Errno::ENOSYS: Function not implemented - Failed to initialize inotify
Open your project's config/environments/development.rb
file and comment out this line:
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
If you continue to receive this error, inside the container run:
rake app:update:bin
If you run docker compose up
or sc up
(for sidecar) and encounter the following:
Attaching to ***-hyku-web-1
container for service "solr" is unhealthy
or
the zk operation for reason: Path /var/solr/data/security.json does not exist
container for service "solr" is unhealthy
or
ERROR: for initialize_app Container "<SHA>" is unhealthy.
ERROR: Encountered errors while bringing up the project.
You may need to run docker compose down --volumes
to remove volumes, then run sc up
to re-up your docker instance.