dev-environments icon indicating copy to clipboard operation
dev-environments copied to clipboard

Network error on starting dev environment based on my own image

Open kevinsullivan opened this issue 4 years ago • 4 comments

Describe the bug I create a development environment based on kevinsullivan/leanvm. When I start it, I get four bright red internal-looking error messages. Docker Deskop indicates it's pulling my image, but it never finishes and seems to have failed.

To Reproduce Steps to reproduce the behavior: I'm running Windows 11 insider, Ubuntu 20.04 LTS in WSL2, and VSCode. Just try to create and start a development environment based on my image.

Expected behavior Should run and allow me to launch VSCode.

Screenshots Here's a screenshot of the series of error messages. These messages appear on my screen for a few seconds and then blink off.

Screenshot-cropped

Desktop (please complete the following information):

  • OS: Windows 11 Beta
  • Build 22000

Version of Docker Desktop:
You can find the version by clicking on the About Docker Desktop menu

version 20.10.8, build 3967b7d

Additional context Add any other context about the problem here.

kevinsullivan avatar Aug 12 '21 21:08 kevinsullivan

@kevinsullivan it seems that Docker Desktop UI lost the connection with the Dev Environments backend, can you restart Docker Desktop and retry? If you still have the same issue, can you please use the Troubleshoot>Get Support menu to generate a diagnostic and post the diagnostic ID as a comment of this issue please?

glours avatar Aug 12 '21 21:08 glours

@kevinsullivan it seems that Docker Desktop UI lost the connection with the Dev Environments backend, can you restart Docker Desktop and retry? If you still have the same issue, can you please use the Troubleshoot>Get Support menu to generate a diagnostic and post the diagnostic ID as a comment of this issue please?

Reference diagnostic ID = F8F2B3D0-9E02-4531-8853-195806A3C343/20210812234051

kevinsullivan avatar Aug 12 '21 23:08 kevinsullivan

@kevinsullivan it seems that Docker Desktop UI lost the connection with the Dev Environments backend, can you restart Docker Desktop and retry? If you still have the same issue, can you please use the Troubleshoot>Get Support menu to generate a diagnostic and post the diagnostic ID as a comment of this issue please?

I just signed out using Docker Desktop (DD). Now I'm quitting the program (X out). Now I'm restarting DD. It comes up quickly showing no containers running. I go to dev environments and create new environment. I select "Existing Dev Environment" and enter docker.io/kevinsullivan/leanvm. I hit create, and boom: four transient banner red error messages explode in my windshield ;-). I wrote this as it was happening again in real time, so at least for me it's reliably repeatable to get this error.

kevinsullivan avatar Aug 13 '21 00:08 kevinsullivan

Some more information. I suspect that the error being reported might be an unhandled exception due to my failing attempt in the Docker file to copy a .profile file from my local host to the image (the docker "COPY ./profile.txt ./.profile" command in the docker file).

kevinsullivan avatar Aug 13 '21 17:08 kevinsullivan