Docker swarm can be on one server?

Hello. I am learning docker currently and I am asking if it is possible to run the whole docker swarm on one server? (I believe the minimum is two; for master and node) I have spare machine at home and I want to try this.

This is only temporary and then I will scale it after I do the testing.

Note: I will run this on Kubuntu 18.04.

Thanks,

Hi, yes this is possible.

The minimum requirements are if you are planning to use high availability.
So there is no issues on running a single node swarm