I create simple script to handle docker session management.
It call systemctl start docker, when we ran container and docker is not running, It call systemctl stop docker, when there is no docker container running. It allow to cleanup or commit container after we close it and close dialog window.