abiosoft / abiosoft/colima

Unable to run container with --env-file

未关闭
#681 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
30.8k
派生
613
PR 合并指标
30 天内没有已合并 PR

描述

### Description

Getting following error when trying to run container with --env-file argument:
FATA[0000] invalid environment variable:
FATA[0000] exit status 1

### Version

Colima Version: 0.5.4
Lima Version: 0.15.0
Qemu Version: 7.2.0

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [X] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [ ] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: x86_64
INFO[0000] runtime: containerd
INFO[0000] mountType: virtiofs

### Reproduction Steps

1. nerdctl run --rm -p 8080 --env-file env -v ./test.json:/app/test.json -w app -u node image_name:local

### Expected behaviour

It should start up the container with propagated env variables.

### Additional context

Command was working on qemu type. After changing to vz type, issue appeared

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。