Waztom / xchem-CAR

5 stars 0 forks source link

Building dev container docker error #50

Closed GitGud93 closed 3 years ago

GitGud93 commented 3 years ago

Hi I got the following error while the dev container was busy setting up in VS code. At the top you will see several suggested options to resolve the issue. Help? image

Waztom commented 3 years ago

OK, suspect this might be a DNS/network issue. To test your network connection, can you please try updating and upgrading your WSL by:

  1. Inside your WSL terminal
  2. sudo apt update && sudo apt upgrade -y
  3. Alternatively, you can also test your connection by trying to ping a website -> ping www.google.com. You should see something like: image
GitGud93 commented 3 years ago

So I think you were correct. I connected to a more stable/faster network and reloaded the window as per the top option (primarily so i could try a ping as it forced me to select an option before typing another command) and it suddenly worked just fine. I also saw that the line of code you suggested I run to update wsl was run by itself as part 6/6 of the process to creating the dev container. Thanks a bunch!