How to remove discourse website

Yes. You have Ubuntu as the OS, then Docker as an application installed in the OS, and Discourse running on top of Docker.

Docker creates the possibility to isolate applications in containers (let’s simplify it as a light weight Virtual Machine), where you can run multiple applications without messing up the OS