Docker as Failover?

Hi! I am new here, is it possible to create/setup a failover for web server with docker?