mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 20:25:57 +03:00
[GH-ISSUE #35] Option not to use docker health check #25
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vikramvi on GitHub (Aug 14, 2017).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/35
adb connect 192.168.2.48:5555I can see this particular emulator through VNC and interact with it as well.
@cwiejack commented on GitHub (Aug 15, 2017):
Hi,
we encountered the same problem and our current solution is to start the container without port forwarding for port 5554 and 5555.
@glazeus commented on GitHub (Aug 18, 2017):
Hi
there is bug inside docker container.
we did it inside container (shell or via noVNC)
and it shows
offlinestatus even after adb kill-serverAs results it is not working after port forwarding.
@butomo1989 Could you please take a look the root case?
Thank you
@diemol commented on GitHub (Aug 30, 2017):
@butomo1989 does it make sense to have this health check in this image?
I mean, this health check is just executing a a given script or pinging and endpoint to report some status. In my opinion, this type of feature provided by docker, makes more sense in images that are used in production (like an API, website, etc...), in this test environment perhaps it does not make sense because checking the health check status is using resources and therefore slowing down a bit the docker container.
What do you think?
@andrcuns commented on GitHub (Aug 30, 2017):
@diemol without the health check, if this is used in some sort of CI setup or more or less automated setup when something spools up container and starts executing tests towards it, there is no way to know when the emulator is ready to receive requests and tests will mostly fail. One could implement some check within his own build scripts but it is far less convenient. I doubt simple adb commands takes too much resources :)
@diemol commented on GitHub (Aug 31, 2017):
That is a good point @glazeus
I suggested to remove it since we did something similar in elgalu/docker-selenium since it was exhausting the grid, but this should not be the case here.
I only imagine that the script that reports the status to the health check has to be improved then :)
@budtmo commented on GitHub (Sep 26, 2017):
I can make it optional by passing the parameter on the fly to support both cases.