If you only need the docker process to go in the background you can use
Ctrl + Z
Be aware that it is not a real detach and it comes with a performance penalty.
(You can return it to foreground with the bg command).
Another option is to just close your terminal, if you don't need it any longer.