How to launcher Slicer with on desktop on Ubuntu command line?

I want execute a python script to batch process my dataset using 3DSlicer.But my PC is of low-performance,so I want to run the script on the high-performance server docker container.However the server docker container only provides a command shell which can’t support window GUI:


Any advice to solve this problem will be highly appreciated~
Thank you~~

You need to set up a dummy X server. See this post for details: Bundle file creation

Thank you for your so fast reply.I will read this post,and I will inform you if I encounter other problems.
Thank you~