fix: container state mapping + marketplace install aliases
- Created containers now show as "stopped" not "starting" (fixes ollama/tailscale perpetual "starting" state) - Comprehensive INSTALLED_ALIASES map: fedimint, electrumx, grafana, jellyfin, vaultwarden, searxng, homeassistant, photoprism, lnd, filebrowser, tailscale, ollama — prevents marketplace showing "Install" for already-installed containers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -621,7 +621,7 @@ fn convert_state(container_state: &ContainerState) -> (PackageState, ServiceStat
|
||||
ContainerState::Stopped | ContainerState::Exited => {
|
||||
(PackageState::Stopped, ServiceStatus::Stopped)
|
||||
}
|
||||
ContainerState::Created => (PackageState::Starting, ServiceStatus::Starting),
|
||||
ContainerState::Created => (PackageState::Stopped, ServiceStatus::Stopped),
|
||||
ContainerState::Paused => (PackageState::Stopped, ServiceStatus::Stopped),
|
||||
ContainerState::Unknown(_) => (PackageState::Stopped, ServiceStatus::Stopped),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user