abiosoft / abiosoft/colima

Support for Disk/Memory Units Other Than GiB for --memory and --disk flags

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

描述

### Description

Currently, the `--memory` or `--disk` flags allow users to specify the amount of memory allocated to the VM in Gibibyte (GiB).

Are there plans for Colima to support other units for CPU/Disk/MEM allocation, specifically Mebibyte (MiB)?

## Suggestion 1

```bash
colima start --memory 2GiB
colima start --memory 512MiB
```

This change would provide flexibility to the users and make it easier to manage memory resources.

## Suggestion 2

Alternatively, Colima can also support `float` (instead of only `int`) values for memory allocation. This would allow users to specify the exact amount of memory they want to allocate while keeping the unit as GiB.

Here is an example of how this could look:
```
colima start --memory 0.5 --disk 0.5 # GiB
```

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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