Can't attach to a container running on a remote machine #4419
Labels
containers
Issue in vscode-remote containers
info-needed
Issue requires more information from poster
Steps to Reproduce:
Run
docker-compose up -d
Attach to running container
-> Select thehello
container.The following error occurs:
Sometimes, clicking "Retry" will go further but then throw another error down the line (case 1):
Other times, clicking "Retry" will simply show a popup with the following message (case 2):
And the option to "Choose container". Clicking on "Choose container" will then show the following error at the bottom right of the screen:
With the following in the terminal:
I've verified that the container is still running in all of these cases. Whether one case or the other occurs seems up to chance, but I've noticed that case 2 occurs much more frequently.
I've also tried this workflow with Insiders but couldn't even get past "Attach to Running Containers", where it displays the following error in the bottom right of my screen:
In both cases, the docker extension properly registers the docker daemon and the running container.
The text was updated successfully, but these errors were encountered: