Score:1

apt update issues via docker container ansible playbook

ph flag

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:

ansible playbook running

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

ansible playbook

Nate T avatar
it flag
What about `docker attach`? You just need to update apt? `docker attach` will attach your running daemon to the 0,1, and 2 file descriptors of whatever terminal you run the command from. The man_page is under `man docker-attach`. Or you can run it as a devcontainer in vscode if you get really desperate... XD
Anyl Pascal avatar
ph flag
I actually realized that the issue was my access from my virtual network to the internet thx!
Nate T avatar
it flag
Glad you solved it. You should add an answer. It may save somebody else some stress in the future
Score:0
ph flag

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.

ChanganAuto avatar
us flag
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.