Excuse me. I don’t understand what you mean.
The config means that the folder /var/discourse/shared/standalone in host will be mounted as /shared in container. But as you can see in my demonstration, after enter the container, I list directory at / but don’t see shared.
I also try
cd /shared
but no working.