-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Make a Docker container for BLeak #24
Comments
That's a good idea! I'll put together a container after the PLDI camera ready deadline (unless someone beats me to it!). |
The main barrier to doing this is figuring out how to run non-headless Chrome in Docker. I could create a Docker container with headless Chrome, but then developers wouldn't be able to easily visibly debug their input scripts. |
@jvilk I have used |
BLeak ran correctly the first time on my Mac, then it hung-- a docker container would be greatly appreciated. |
I would really like to see a Docker container as well. Thx! |
@jvilk Since this issue is still open and there are recent comments asking for a Docker container, I would like to work on creating a container for BLeak based on an Ubuntu 18.04 LTS image. I intend to enable a display using a VNC server as @saulshanabrook has mentioned. |
@darkaether That would be great! Let me know if you manage to get things working. |
@jvilk Some good news and bad news. The good news is that I managed to get a docker container up and running with Ubuntu 18.04 LTS and X11VNC providing VNC access to the container. All the necessary packages installed correctly. However, the bad news is that I have run into some certificate errors from Chrome that I haven't the slightest on how to go about fixing - I came across multiple solutions with various degrees of success on various situations. Note: the ignore-certificate-errors option has also been specified in the command line.
Here is a screenshot of the problem. Perhaps more heads looking for a solution may help sort this out. |
|
Yes; this option is required for BLeak to run on https webpages. It uses mitmproxy to intercept requests to the website and send them to BLeak for instrumentation. It shouldn't be needed if you're running things locally over http and your web app doesn't access anything over https. |
Thank you @Danger89 for your comment. |
I have some good news. I finally managed to get BLeak working in an ubuntu 18.04 docker container. Things still need some fine tuning though:
I will be sure to share a working DockerFile as soon as I can test it (I manually installed any required tools and some nice-to-haves for the experiment). |
Hi @darkaether, do you have any updates on it? I would like to use this tool through docker but I'm not skillfull enough. Thanks. |
I have tried to use ubuntu 18.04, node 10, python 3.7, x server and vnc server, error raised by
Anybody have experience can help? Thanks! |
@darkaether currently having trouble getting BLeak running on my macbook. I intend to keep troubleshooting, but a docker container would be super nice. Would love to see your docker solution. |
@chiu0602 I am now facing same issue that you have mentioned. Were you able to resolve this? Any pointers are greatly appreciated. Thanks! |
It would be awesome if I could try out BLeak via a Docker container. On my machine there are various other tools that are very picky about requiring Python 2, certain versions of node.js, etc. I can probably figure out a way to install the right dependencies for BLeak in a way that doesn't interfere, but if I could just run some kind of Docker script to have an isolated environment that would be even easier. (I'm on macOS High Sierra, in case that's relevant.)
Thanks for making BLeak available!
The text was updated successfully, but these errors were encountered: