To run CKAN on Docker using the official instructions, one needs a Solr container. The official Solr image provided by CKAN is currently outdated and doesn't work with the latest version of CKAN due to a Solr schema version mismatch.
The image provided here can be used with the official instructions. Just use
cygri/solr instead of
Note that I maintain an alternative image for CKAN itself as well at
Your Dockerfile wont work with ckan.
You are copying collection1 to ckan and add schema.xml to ckan, but solr will still use collection1 as the only core.
Hence your ckan docker with complain about schema 1.5 of solr.