diff --git a/internal/tui/docker.go b/internal/tui/docker.go index 409455a..133ca9c 100644 --- a/internal/tui/docker.go +++ b/internal/tui/docker.go @@ -56,7 +56,7 @@ func EnsureNetwork(name string) error { cmd = exec.Command("docker", "network", "create", name) out, err := cmd.CombinedOutput() if err != nil { - return fmt.Errorf("erro ao criar network %s: %w\noutput", name, err, string(out)) + return fmt.Errorf("erro ao criar network %s: %w\noutput: %s", name, err, string(out)) } return nil } @@ -125,7 +125,7 @@ func RunAppClienteContainer(image, containerName, configPath, configDestinationP "-u", uidGid, "-p", fmt.Sprintf("%s:8080", cv.Server["port"]), "--name", containerName, - "--network", "app-dono_app", + "--network", networkName, "--restart", "unless-stopped", "-v", fmt.Sprintf("%s:%s", absPath, configDestinationPath), "-v", fmt.Sprintf("%s:/app/certs", cv.Cert["cert_dir_path"]),