Method: Sc2::Cli::VersusBot#start_container
- Defined in:
- lib/sc2ai/cli/versus_bot.rb
#start_container ⇒ Object
115 116 117 118 119 |
# File 'lib/sc2ai/cli/versus_bot.rb', line 115 def start_container say_status("docker", "starting bot container", :cyan) cmd = "docker compose #{@compose_args} up versus_bot -d" ## { rand(20) == 0 ? "--force-recreate" : "" } Kernel.system(cmd) end |