Containerized deployment of micro-services in fog devices: a reinforcement learning-based approach