generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Open
Copy link
Labels
feature_requestNew Feature Request for FinchNew Feature Request for Finchnerdctlnerdctl specificnerdctl specificsize/XL
Description
Summary
Finch is missing support for the --expose and --publish-all (-P) flags that are available in Docker CLI. These flags are commonly used in development tooling and their absence impacts Docker compatibility.
Upstream Issue
This is an nerdctl limitation tracked at: containerd/nerdctl#4689
Docker Behavior
# Expose port 80 and publish to random host port
docker run --expose 80 -P nginx:alpine
# Check assigned port
docker port <container_id>
# Output: 80/tcp -> 0.0.0.0:49153Podman Compatibility
Podman fully supports both --expose and -P/--publish-all flags.
Impact
This gap affects tools that rely on dynamic port allocation:
- VS Code Docker extension
- Development workflows requiring multiple service instances
- Container orchestration patterns
Workaround
A workaround for VS Code Docker extension is implemented in PR #327 that logs warnings when these flags are used.
Suggested Action
Consider contributing the implementation upstream to nerdctl to maintain Docker CLI compatibility.
Metadata
Metadata
Assignees
Labels
feature_requestNew Feature Request for FinchNew Feature Request for Finchnerdctlnerdctl specificnerdctl specificsize/XL