There is just few notes Actually it's working fine outside x11. Let's continue
docker run -e "ALLOW_UNAUTHENTICATED=true" -e "INCLUDES=vim,openssh-server,wget,git,unzip,rpi-update,raspi-config,locales" -e "PROJECT_NAME=candy" --privileged --rm -v $(pwd):/result -v /dev:/dev pie-new