This commit is contained in:
Roberto Alsina 2024-06-30 00:55:59 -03:00
parent ad520c222b
commit 342504dd50
2 changed files with 5 additions and 8 deletions

View File

@ -93,9 +93,6 @@ module Faaso
def run
funkos = Funko.from_paths(@arguments)
funkos.each do |funko|
container_name = "faaso-#{funko.name}"
docker_api = Docr::API.new(Docr::Client.new)
if funko.image_history.empty?
puts "Error: no images available for #{funko.name}:latest"
next

View File

@ -107,7 +107,7 @@ class Funko
end
# Create a container for this funko
def create_container( autostart : Bool = true) : String
def create_container(autostart : Bool = true) : String
conf = Docr::Types::CreateContainerConfig.new(
image: "#{name}:latest",
hostname: name,