title: How can I use an env file to pass environment variables into a standalone vscode remote container?
body: <p>I am using a standalone <a href="https://github.com/microsoft/vscode-remote-try-go" rel="noreferrer"><code>Go</code></a> vscode remote container for development and would like to load environment variables into the container from a file. </p>
  
  <p>All examples I can find are using Docker Compose and its <code>env_file</code> <a href="https://docs.docker.com/compose/environment-variables/#the-env_file-configuration-option" rel="noreferrer">option</a> but using Docker Compose seems overkill for a single container. Is there any way I can achieve this without using Docker Compose?</p>