Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default mapped ports should be exposed via mapped.docker.port.XX sensor #282

Open
johnmccabe opened this issue Apr 16, 2016 · 0 comments
Open
Labels
Milestone

Comments

@johnmccabe
Copy link
Member

Adding a VanillaDockerApplication results in any container specified ports being mapped by docker.

It would be useful if these could be exposed in mapped.docker.port.XX sensors without explicitly specifying an openPorts entry.

For example:

location: dc
services:
- type: docker:mariadb:5.5
  id: db
  env:
    MYSQL_ROOT_PASSWORD: "heloooooo"

Can be seen exposing the following:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f92fa009247f 4898c21213910b7c92f584e44f5f23a02317fa4fd0e0eb3977d5a89a9210e52a "/docker-entrypoint.s" 5 minutes ago Up 5 minutes 0.0.0.0:32795->22/tcp, 0.0.0.0:32794->3306/tcp db_gwgebmsg
@grkvlt grkvlt added this to the Version 1.2.0 milestone Apr 27, 2016
@grkvlt grkvlt added the 1.x label Sep 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants