depending on your use case, it might be worth learning k3s - basically a more supported docker swarm. it’s a bit harder to get up and running compared to docker, but you can do a lot of cool stuff with it.
think they are on the same computer
k3s with kubevip may work for you - you can have containers distributed amongst many computers (nodes), but to computers outside of the cluster it just looks like one machine.
depending on your use case, it might be worth learning k3s - basically a more supported docker swarm. it’s a bit harder to get up and running compared to docker, but you can do a lot of cool stuff with it.