Applications often utilize the cloud as support for processing and storage. The variety of mobile applications also brings a diversity of quality of service requirements, as for example strict delay and availability requirements. Fog computing includes computing services at the edge of the network so as response times can be reduced. In this paper, we present one policy for proactive virtual machine migration in fog computing in order to improve management of computing resources utilized by vehicles connected to this infrastructure. Simulations suggest that using knowledge about the future user’s path can improve the resource management of fog ecosystem, maintaining users’ virtual machine in fog devices as close as possible to the vehicle path. Simulations suggest that the presented policy reduce the total of migration along the user’s path without affecting the quality response time of virtual machines allocated to the fog.