You would not get redundancy or scale and you would need to do offsite backups yourself which is why it's not recommended over cloud DBs.
Building stateless containers is good practice.
There will always be exceptions but it's good to know the tradeoffs before making those exceptions.