-
Hi, We do not have a k8s environment and I would like to run canary trace in docker swarm. To be able to do that correctly I need to know a few things:
If I take in a consideration the fact that the canary trace is being run once in a while, then I do not understand this persistence. How do the canarytrace image communicate with the chrome image? Do they use only port 4444 on a localhost? Is it possible to use some ENV to change the address of the chrome? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @suchoss 👋
Second docker image contains chromedriver and Canarytrace use default port 4444 for sending commands and 9222 for remote debugging of the browser. There is no reason to change these default ports of the browser. Thanks |
Beta Was this translation helpful? Give feedback.
Hello @suchoss 👋
dsh
☝️ When executing docker run for an image that contains a browser please use the flag --shm-size=2g to use the host's shared memory. Reason is known bug of Chrome https://bugs.chromium.org/p/chromium/issues/detail?id=522853assets
directory is for statics files generated by Canarytrace, e.g. trace reporter. https://canarytrace.com/docs/features/lighthouseSecond docker image contains chromedriver and Canarytrace use default port 4444 for sending commands and 9222 for remote debugging of the browser. There is no reason to change these default ports of the browser.
Thanks