Can you explain how you did this? Like you're saying that path is inside the container, but how do you go about changing the permissions inside the container using chown? Since you'd need to have permission to change the file permissions, which isn't the case since then you'd already have permissions in the first place.
I did however try the following, that didn't give me an error but it didn't seem to fix the issue either.
`docker exec -u root TubeArchivist-ES chown -R 777 /usr/share/elasticsearch`