I want to work in a container in a remote server. But it doesn't work.
Environment:
Local: Windows 10
Local Terminal for ssh: WSL in Windows 10
Server: Ubuntu 18.04
I checked these two articles.
https://code.visualstudio.com/docs/remote/containers-advanced https://code.visualstudio.com/docs/containers/ssh
I followed these steps.
- I installed [Remote Development] extension in VS Code.
- Remote-SSH: Connect to host. It works fine.
- I Installed [Docker] extension on the remoter server.
- Now I can see my containers and images in a docker tab.
- I clicked one container and clicked [Attach Visual Studio Code] and it says There are no running containers to attach to.