I have installed lima (https://github.com/lima-vm/lima) on my macos. I would like to create script like:
- enter to lima environment by limacommand.
- execute there custom command eg docker ps --all -q
I tried something like this:
 bash -c "lima; docker ps --all -q"
but it works that I entered into lima, and after type exit I see docker ps --all -q output. So the second command is not executed into lima context.
How can I write proper script?
 
    