1. A method for performing on-the-fly migration to a new platform of a container connected to a shared storage drive by employing a blocking file system, the method comprising: launching a virtual execution environment inside the container; simultaneously suspending all active processes in the virtual execution environment; storing the state of all active processes executing in the container into a dump file; migrating the dump file to the new platform; mounting on the new platform blocking file system having a blocking state and a restarting state in a blocking state, where any request directed to the blocking file system results in blocking the requesting task; restoring the state of the active processes in the container on the new platform from the dump file; starting restored processes on the new platform; reconnecting to shared storage drive and transitioning the blocking file system to the restarting state where blocking file system unblocks previously blocked tasks while restoring connection to files on the networked storage drive; and dismounting the blocking file system, wherein on-the-fly migration is performed transparently to the users of the virtual execution environment.