Docker Community Forums

Share and learn in the Docker community.

Best idea to switch apps with quick hot-swap


I am currently searching an idea to make a hot swap between two version of an app.

I want to reload an app without a timeout, actually i remove the old container and replace it with the new one but you can have few seconds of no response.

Maybe i can play with iptables to switch incoming traffic ?

Someone has already done this ?