I deployed a java GUI program on docker, and start it in a .sh script:
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix [image_name]
My question is: after the GUI startup, the bash terminal is still showing. Is there any way to exit the terminal after GUI show?
