I have been trying to run an ansible playbook via a docker container, However I'm having issues with sudo apt update currently running ubuntu 18.04:

I’ve also tried to SSH into each VM (which isn't an issue) and apt update as well.

I have been trying to run an ansible playbook via a docker container, However I'm having issues with sudo apt update currently running ubuntu 18.04:

I’ve also tried to SSH into each VM (which isn't an issue) and apt update as well.

due to some rules that i had implemented, access was not allowed to the virtual network on my newly added virtual machine, this is the reason the virtual machine was having issues updating, to fix this I made sure to write a corrective rule via my Microsoft Azure account that would allow this to take place.