Below are some useful things for configuring VSCode for development
There are two ways you can set up a development container for VSCode.
docker run for example), do it from the top bar (ctrl+shft+p)
First you need to build a docker image from your Dockerfile. In shell, navigate to where your Dockerfile exists and run the docker build command. Specify the -t flag to name and tag your image (for example, my-image:latest):
docker build -t my-image:latest .
t assigns a name and tag to the image. The format is name:tag, where tag is optional (default is latest).. specifies the build context as the current directory (where your Dockerfile and other resources are located).Verify the image was created by listing all Docker images:
docker images

Now run a docker container from a specified image:
docker run --name your_container_name -v /path/on/host:/path/in/container my-image:latest
-v specifies volume mounting from host machine to docker container
/path/on/host: This is the path on your host machine you want to share with the container./path/in/container: This is the path inside the container where the host directory will be mounted.Now, connect to your remote host as usual. You should see this icon on the left
