Files
mev-beta/scripts/run-flash-swap-bot.sh
Krypto Kajun 687350b285 fix(scripts): update launcher to support podman with modern compose syntax
Updated container execution path to:
- Detect and prefer podman over docker (modern container runtime)
- Use modern 'docker compose' and 'podman compose' syntax (without hyphen)
- Properly handle both podman and docker as fallback options
- Display which container runtime is being used in output

Key improvements:
- Container runtime detection (prefer podman, fallback to docker)
- Uses 'podman compose' or 'docker compose' based on available runtime
- Updated status messages to show container runtime information
- Renamed internal references from Docker-specific to generic "container"

Testing results:
 Podman is properly detected and used (podman compose works)
 Container image building with podman compose --no-cache succeeds
 Native execution path unchanged and still fully functional
 Both execution modes work correctly with proper pre-flight checks

The launcher now correctly uses:
- Modern compose syntax: 'podman compose' (not 'podman-compose')
- Proper container runtime auto-detection with podman preference
- Fallback to docker if podman not available

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 20:45:58 -06:00

13 KiB
Executable File