From 3aa58435f881fcbe0ce9a9e242e8611b8b0cc246 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sat, 29 Jun 2024 12:35:03 -0300 Subject: [PATCH] Refactor Up to use funkos --- src/faaso.cr | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/faaso.cr b/src/faaso.cr index 0e55b35..5c42514 100644 --- a/src/faaso.cr +++ b/src/faaso.cr @@ -137,7 +137,10 @@ module Faaso # FIXME: name should be unique response = docker_api.containers.create(name: "fungus", config: conf) + response.@warnings.each { |msg| puts "Warning: #{msg}" } + container_id = response.@id docker_api.containers.start(response.@id) + # TODO: wait until container is running before next end # TODO: Run test for healthcheck # TODO: Map route in reverse proxy to function