0👍
✅
After some tries, I realized that I need to remove that part of the command: -u "$(id -u)"
. Now it works properly.
So, it should be:
alias vuejs='docker run -it --rm -v "$PWD":"$PWD" -w "$PWD" ebiven/vue-cli vue'
Source:stackexchange.com