nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.27k stars 132 forks source link

Commands: add `image env` to list environment variables in image #1561

Closed francescolavra closed 9 months ago

francescolavra commented 9 months ago

This command outputs the list of environment variables found in a local (on-prem) image. Example:

$ ops image env my-image
IMAGE_NAME: my-image
USER: root
PWD: /
NANOS_VERSION: 0.1.48