A server is a machine (a computer) that has been configured to respond to requests delivered over the internet. Although one can employ an otherwise unused laptop as a server one more likely rents capacity on a virtual machine managed by a provider.
Some of us favor Digital Ocean as a provider because they offer a well documented service at a modest price. Their droplet "marketplace" offers a virtual server already configured with Docker services.