- if you want to use a static schema.xml, add this in your solrconfig
< schemaFactory class="ClassicIndexSchemaFactory"/ >
docker inspect solr:6.6.0-alpineIf the value of the field "user" is something else than empty or root, you won't have root access to the container to install things. Either you can execute something in the existing container as "root" user:
docker exec --user root -it 008d1946ddf8 bashOr you can generate a new container from the docker image with the root user .
docker run -it --user root solr:6.6.0-alpineIf you commit this new container, the newly generated image will have the "root" user in its dockerfile.