[GH-ISSUE #31] how to find which port is used by containers inside docker compose file ? #21

Closed
opened 2026-03-01 15:39:24 +03:00 by kerem · 1 comment
Owner

Originally created by @vikramvi on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/31

https://github.com/butomo1989/docker-android/blob/master/docker-compose.yml

Here ports value as 6080, is this correct ?

  • How to find out which port is used by each of the containers so that I can connect via browser ?

  • Screen shot in README shows port number 32785 - 32787, but am not sure how these values have been derived ?

Originally created by @vikramvi on GitHub (Aug 11, 2017). Original GitHub issue: https://github.com/budtmo/docker-android/issues/31 https://github.com/butomo1989/docker-android/blob/master/docker-compose.yml Here ports value as 6080, is this correct ? - How to find out which port is used by each of the containers so that I can connect via browser ? - Screen shot in README shows port number 32785 - 32787, but am not sure how these values have been derived ?
kerem closed this issue 2026-03-01 15:39:24 +03:00
Author
Owner

@vikramvi commented on GitHub (Aug 11, 2017):

I figured it out

docker ps

CONTAINER ID        IMAGE                                 COMMAND                  CREATED             STATUS                      PORTS                                              NAMES
3a7d50b27458        butomo1989/docker-android-arm-7.1.1   "/bin/sh -c '/usr/..."   15 minutes ago      Up 15 minutes (unhealthy)   4723/tcp, 5554-5555/tcp, 0.0.0.0:32769->6080/tcp   downloads_samsung_galaxy_web_7.1.1_1
b498a40bb3d5        butomo1989/docker-android-arm-5.1.1   "/bin/sh -c '/usr/..."   15 minutes ago      Up 15 minutes (healthy)     4723/tcp, 5554-5555/tcp, 0.0.0.0:32768->6080/tcp   downloads_samsung_galaxy_web_5.1.1_1
4d89839d145b        butomo1989/docker-android-arm-7.1.1   "/bin/sh -c '/usr/..."   15 minutes ago      Up 15 minutes (unhealthy)   4723/tcp, 5554-5555/tcp, 0.0.0.0:32770->6080/tcp   downloads_nexus_7.1.1_1
b5ca8583a2cf        selenium/hub:3.4.0                    "/opt/bin/entry_po..."   15 minutes ago      Up 15 minutes               0.0.0.0:4444->4444/tcp                             downloads_selenium_hub_1
<!-- gh-comment-id:321835635 --> @vikramvi commented on GitHub (Aug 11, 2017): I figured it out ``` docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3a7d50b27458 butomo1989/docker-android-arm-7.1.1 "/bin/sh -c '/usr/..." 15 minutes ago Up 15 minutes (unhealthy) 4723/tcp, 5554-5555/tcp, 0.0.0.0:32769->6080/tcp downloads_samsung_galaxy_web_7.1.1_1 b498a40bb3d5 butomo1989/docker-android-arm-5.1.1 "/bin/sh -c '/usr/..." 15 minutes ago Up 15 minutes (healthy) 4723/tcp, 5554-5555/tcp, 0.0.0.0:32768->6080/tcp downloads_samsung_galaxy_web_5.1.1_1 4d89839d145b butomo1989/docker-android-arm-7.1.1 "/bin/sh -c '/usr/..." 15 minutes ago Up 15 minutes (unhealthy) 4723/tcp, 5554-5555/tcp, 0.0.0.0:32770->6080/tcp downloads_nexus_7.1.1_1 b5ca8583a2cf selenium/hub:3.4.0 "/opt/bin/entry_po..." 15 minutes ago Up 15 minutes 0.0.0.0:4444->4444/tcp downloads_selenium_hub_1 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-android#21
No description provided.