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

docker in running on VM not accesibe Using Host Machine #274

Open
1 task done
arijitdirghangi opened this issue Sep 8, 2024 · 0 comments
Open
1 task done

docker in running on VM not accesibe Using Host Machine #274

arijitdirghangi opened this issue Sep 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@arijitdirghangi
Copy link

If You're running this docker container on your Ubuntu VM and not able to access using Host machine using ip-address (Ex. 192.168.10.6)

  • #Do the Following
  • First Stop the container using (CTRL+C)
  • Open docker-compose.yml and modify the two things
    • crapi-web service: Under crapi-web modify the ports sections
      • "0.0.0.0:8888:80"
      • "0.0.0.0:8888:80"
    • mailhog service: modify the ports sections
      • "0.0.0.0:8025:8025"

If you have any doubt, referrer the image:

image

image

@arijitdirghangi arijitdirghangi added the enhancement New feature or request label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant