Skip to content

Port conflict resolution can offer to stop Docker daemon #628

Description

@fcakyon

Reproduction

  1. Deploy a project on a fixed host port.
  2. Leave a cancelled or stale OpenShip container bound to that port, with openship.project and openship.deployment labels.
  3. Redeploy the project while activeDeploymentId references a deployment whose recorded container is missing.
  4. Open the port-conflict prompt.

Actual behavior

OpenShip attributes the docker-proxy listener to docker.service and offers Stop Service & Continue. Choosing it would stop the Docker daemon and every hosted app instead of the container that owns the port.

Expected behavior

Resolve docker-proxy to the container publishing the port and use its OpenShip labels to identify ownership. Offer to stop only that container. Never offer to stop docker.service for an application port conflict. If ownership is ambiguous, fail safely and require manual resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions