I have following this step and setting the cloud-code-vol to a local directory that contain a main.js file. I have also checked into Docker Container and found that the main.js file on my volume is already in the cloud directory inside Container. But when i try to execute the Cloud Code using the JS Console in Parse Dashboard, i get an Error below:

JS Console in Parse Dashboard
console.log(await Parse.Cloud.run("hello"))
main.js File
Parse.Cloud.define('hello', function () {
return 'hello-world';
});
main.js file in the directory you will passing as cloud-code-vol to Docker Run Command.Parse.Cloud.run method.master branch in repository. So i can only give the latest commit. The latest commit is https://github.com/parse-community/parse-server/commit/82cd27520b9d8db1ed9d4e720ac84d31c9a3f3714.4.1I am using Parse Dashboard with Docker. The latest digest is 152a141.
2020-11-02T11:39:42.301Z - Invalid function: "hello"
Thank you for reporting.
@davimacedo Do you have any suggestion for this Docker related issue?
Can you try to run the container with the following command?
docker run --name my-parse-server -v cloud-code-vol:/parse-server/cloud -v config-vol:/parse-server/config -p 1337:1337 --link my-mongo:mongo -d parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://mongo/test --cloud /parse-server/cloud/main.js
@davimacedo Yes it work. Thank you very much. I think you should update the Documentation for Docker regarding this problem or add default value for cloud parameter.
@lamualfa Thanks for confirming that the issue could be resolved.
Would you want to open a PR for your suggested changes?
Yes, i will create a new PR.