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

Need to use proper docker formatting for docker engine API #17

Open
marcusdandrea opened this issue Jan 17, 2017 · 4 comments
Open

Need to use proper docker formatting for docker engine API #17

marcusdandrea opened this issue Jan 17, 2017 · 4 comments

Comments

@marcusdandrea
Copy link

Please expose port 1433 in the docker file and change formatting of this image to allow proper docker API calls. Thank you.

@LuisBosquez
Copy link
Contributor

@marcusdandrea Could you please elaborate on what proper Docker API calls means? Also, about how not exposing port 1433 affecting you?

@twright-msft twright-msft changed the title microsoft/mssql-server-windows:latest - Need to use proper docker formatting for docker engine API Need to use proper docker formatting for docker engine API Jan 18, 2017
@marcusdandrea
Copy link
Author

Belows is a sample YAML that I'm passing over the Docker Engine API which normally works for most Windows container apps but not SQL. If I issue a docker run on the windows host with the port it works fine. I tried a variation of the specific port as well as all ports and both result in a negative outcome. I believe the docker expose ports command needs to be in the Dockerfile which may resolve this problem.

sqlserver:
image: microsoft/mssql-server-windows:latest
host: host1
mem_min: 500m
#ports:

- 1433:1433

publish_all_ports: true

@twright-msft
Copy link
Collaborator

@marcusdandrea Just wanted to double check here. It looks like you commented out the 'ports' attribute in the dockerfile. Was that intentional?

@marcusdandrea
Copy link
Author

marcusdandrea commented Jan 19, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants