devcontainers / devcontainers/cli
Passing environment variables in features
Đang mở
bug
- Ngôn ngữ chính
- TypeScript
- Star
- 3k
- Fork
- 457
- Merge trung bình
- 13 giờ 17 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
Hi, I was trying to set up a feature that would configure the container's environment variables and mounts to allow applications in the container to use WSLg. I've set this up fine in a devcontainer.json by using ${localEnv:?}, but it seems features can only use environment variables from the container.
Would it be possible to pass host environment variables to a container through a feature? Thanks!
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.