Skip to content

new-app doesn't detect exposed port #3192

Closed

Description

@deads2k

Dockerfile contains EXPOSE 111/udp 2049/tcp, but new-app reports no exposed ports were detected..

[deads@deads-dev-01 docker-nfs-server]$ oc new-app https://github.com/deads2k/docker-nfs-server --strategy=docker
W0615 12:53:02.088749   30942 pipeline.go:225] A service will not be generated for DeploymentConfig "docker-nfs-server" because no exposed ports were detected. Use 'oc expose dc "docker-nfs-server" --port=[port] --generator=service/v1' to create a service.
imagestreams/ubuntu-debootstrap
imagestreams/docker-nfs-server
buildconfigs/docker-nfs-server
deploymentconfigs/docker-nfs-server
WARNING: We created an ImageStream "docker-nfs-server", but it does not look like a Docker registry has been integrated with the OpenShift server. Automatic builds and deployments depend on that integration to detect new images and will not function properly.
A build was created - you can run `oc start-build docker-nfs-server` to start it.

Activity

  1. added
    kind/bug
    on Jun 15, 2015
  2. deads2k commented on Jun 15, 2015

    @deads2k
    ContributorAuthor

    @liggitt I'll take a first look

  3. deads2k commented on Jun 15, 2015

    @deads2k
    ContributorAuthor

    Alright, I'm defeated. @csrwng save me? Looks like the .Resolve() method is stomping the .Match.Image, but doesn't have the Dockerfile.

  4. modified the milestone: 1.1.0 on Jun 17, 2015
  5. assigned and unassigned on Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/clikind/bugpriority/P2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions