gotoz / runq

run regular Docker images in KVM/Qemu
Apache License 2.0
797 stars 45 forks source link

labels instead of RUNQ_ envs #21

Closed matti closed 2 years ago

matti commented 2 years ago

What about using docker labels instead of RUNQ_ envs - this would allow docker images to specify requirements as

LABEL runq.cpu=2
LABEL runq.mem=2048
pmorjan commented 2 years ago

I don't think that this would be a good idea. Those env variables are used to specify the behavior of running containers and not the properties of images. Attributes like number of CPU or memory size do not belong to images.

matti commented 2 years ago

agreed