Yes, even using pools. Docker runs on general purpose computers. bitcoin miners are machines specifically built for mining. General purpose GPUs wont be profitable ever again.
bitcoin mining asics are machines like that
https://shop.bitmain.com/product/detail?pid=00020240311180613891frupBW6406B2