One Solution collect form web for “can't execute conky on docker”

Please check if SSH X forwardings is set up correctly by running some classic X clients like xeyes or xclock within your container. If they run with no problem but only Conky fails, then that might be a bug of Conky and you might need to contact its developers.