To deploy XWiki with a few simple commands, you should follow the instructions in the Quickstart section of this XWiki Docker Fork on Github.
After deploying XWiki, you should configure it through the GUI to customize the website to your needs. I have written an article about the most important configurations that I had applied for this website.