-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container server did not launch or terminated: Error: unexpected end of parent stream #10543
Comments
Maybe the WSL disk or memory are full? |
I am attaching the outputs of df and free commands, in the initial state before running any dev containers, from WSL in this comment. I have about 30GB left in my OS drive and about 70GB left in my working drive. I think there is enough disk and ram available and is unlikely the cause of the issue, but do correct me if I'm wrongly looking at the numbers. As I mentioned, if I comment out the git install line from Docker file, the dev container spins up very quickly (within 4s - 6s). However, when I uncomment it, the spin time shoots up to 250s-300s. And there is one particular step (docker inspect ...) that takes maximum time (as you can check from previous post). And also, there are those error messages, those messages can't be due to memory or disk full issues, right? I think the issue lies in the interaction of git with docker container. Git installation happens successfully, but unexpected end of parent stream errors crop up and slows down the dev container spin up time.
|
Yes, that makes sense, and I totally understand. I'm attaching the logs with log level as trace with this comment.
|
The log shows that at some point all
|
This doesn't happen if I don't do |
Apologies for the delay, the dev container got created. However, it was still very slow to spin up. And the unexpected end of parent stream error still came, albeit in a different context, I think. I'm attaching the logs below. |
Related to Dev Containers from WSL2 on Windows PC
Steps to Reproduce:
I have been able to use github in docker for many months now. However, suddenly a couple days ago I started facing this issue.
The container opens, however, there are two issues I'm facing.
Container server did not launch or terminated: Error: unexpected end of parent stream
Shell server failed: Error: unexpected end of parent stream
docker exec
related lines. I'm not sure what that meansStart: Run in Host: docker inspect --type container <container_id>
I did some ablation analysis, and the dev container runs fast and fine when using just the base image. However, as soon as I add the git installation code in Dockerfile, the below error consistently throws up.
I tried downgrading Docker Desktop and Dev Containers extension but all in vain. The below error keeps coming.
The only thing I can think of that changed is I recently started working at a coworking space where I have to login on the browser before using the internet via their Wi-Fi. And that's where I think I first encountered the issue, but I'm not very sure. I don't know if they are running a proxy or not. But I don't think that should be an issue, since the issue is reproduced using my home Wi-Fi as well.
log.txt
The text was updated successfully, but these errors were encountered: