run the project

docker compose build
docker compose up -d

And then attach vsc to the container

cd /home/docker/code/1_hello-world
go run .

and you can see the output in the terminal

hello world