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

Changing the default container port from port 80 to another port #532

Open
1 task
rajcheval opened this issue Jan 19, 2021 · 0 comments
Open
1 task

Changing the default container port from port 80 to another port #532

rajcheval opened this issue Jan 19, 2021 · 0 comments

Comments

@rajcheval
Copy link

ISSUE

CM and CD images use container port 80. I need to use a port other than port 80

  • I have tried with the latest version of Docker for Windows (Stable or Edge) or Docker Enterprise.
  • [ x] Windows version is at least 1809 / ltsc2019.
  • [ x] Windows has the latest updates installed.

Expected behavior

Actual behavior

port 80 is not available to me.

Additional information

I am trying to provision Sitecore 10.0.0 in AWS ECS.
I am using Windows Containers
I was able get Solr, MSSQL, Solr init containers to run successfully.
I am running into a problem while running CM and CD containers.
Problem is a limitation of ECS. I am enabling IAM roles for containers.
As a result of this port 80 is not available.
I can use any other port except port 80
Do I have build the images on my own to using a port other than port 80?
I will have to find the relevant Dockerfiles and change statement expose 80 to expose 81.
I will have to push these images into my own private Docker Registry.
Can someone confirm if this approach is correct of if there is another way to implement this.

  • Output from docker info:

    ...
    
  • Are you running inside a virtualized Windows machine or physical:
    AWS ECS Windows Container Cluster

Steps to reproduce the behavior

I was not sure how to ask this question so I created an issue. If there is another place where I could have asked this question let me know and I will do so in future.

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

No branches or pull requests

1 participant