From 3a824121c7338ec395cf027156ea83f29fe1e6a4 Mon Sep 17 00:00:00 2001 From: hc Date: Fri, 30 May 2025 23:07:58 +0800 Subject: updatedstuff --- podman_launch_devenv.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'podman_launch_devenv.py') diff --git a/podman_launch_devenv.py b/podman_launch_devenv.py index 8896c02..2473404 100755 --- a/podman_launch_devenv.py +++ b/podman_launch_devenv.py @@ -26,6 +26,8 @@ def launch(): if result.returncode == 0: ip = run("hostname -I | awk '{print $1}'").stdout.strip() or "localhost" print(f"🐳 SSH: ssh root@{ip} -p {port}") + print(f"🐚 Shell: podman exec -it rocky_dev-{port} /bin/bash") + print(f"💡 Tip: For direct shell without port forwarding, use: podman run -it rocky_dev:latest /bin/bash") return result.returncode == 0 parser = argparse.ArgumentParser(epilog=""" @@ -47,3 +49,5 @@ elif args.command == "run": print("❌ Image rocky_dev:latest not found") else: print("Usage: python3 launcher.py {run|list|cleanup} [-p PORT]") + print("🐚 Shell: podman exec -it rocky_dev- /bin/bash") + print("💡 Tip: For direct shell without port forwarding, use: podman run -it rocky_dev:latest /bin/bash") -- cgit v1.2.3-70-g09d2