docker / dev-environments

63 stars 32 forks source link

Network error on starting dev environment based on my own image #46

Open kevinsullivan opened 3 years ago

kevinsullivan commented 3 years ago

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):

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.

glours commented 3 years ago

@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?

kevinsullivan commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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).