mintoolkit / mint

minT(oolkit): Mint awesome, secure and production ready containers just the way you need them! Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
https://github.com/mintoolkit/mint
Apache License 2.0
184 stars 10 forks source link

Support tui mode for docker session #83

Closed eharris128 closed 2 weeks ago

eharris128 commented 3 weeks ago

What

Why

How Tested

Follow Up

Additional Observation

/bin/linux/mint debug --runtime=docker --list-sessions

evan@evan-Precision-5550:~/projects/mint$ ./bin/linux/mint debug --runtime=docker --list-sessions cmd=debug state=started cmd=debug info=cmd.input.params runtime='docker' target='' debug-image='busybox@sha256:05a79c7279f71f86a2a0d05eb72fcb56ea36139150f0a75cd87e80a4272e4e39' gid='-1' fallback-to-target-user='true' entrypoint='[]' cmd='[]' terminal='true' run-as-target-shell='true' uid='-1' cmd=debug state=action.list_sessions target= cmd=debug info=debug.session.count total='1' running='1' waiting='0' terminated='0' cmd=debug info=debug.session target='' name='mint-debugger-13b69f3885f133ce9562814e3c4717931efc7718' image='busybox@sha256:05a79c7279f71f86a2a0d05eb72fcb56ea36139150f0a75cd87e80a4272e4e39' state='RUNNING' start.time='2024-11-04 10:50:16 -0500 EST' cmd=debug state=completed cmd=debug state=done```

kcq commented 3 weeks ago

@eharris128 how functional is this enhancement? any gotchas?

eharris128 commented 3 weeks ago

@eharris128 how functional is this enhancement? any gotchas?

Within the scope of the TUI, the gotchas include the simple hardcoding of code path.

Outside of the TUI codepath, I do not see nor have I detected any gotchas.