Multiple Firefox containers?

Hi all,

Is it possible to run multiple Firefox / Chromium containers? This should be just a simple case of mapping a different port to kasmVNC per container right?

Is it doable? Because as it stands when you spin up more one firefox and one chromium they seem to be sharing and causes all sorts of trouble

I’ve been doing something very similar with the WebTop images, and yes, it is very possible.

Within my Dockerfile I mapped a unique port PORTNUM to the port of interest (3000 for HTTP and 3001 for HTTPS):

ports:
  - PORTNUM:3001

Then you just access it from PORTNUM rather than the default 3000 or 3001.

I don’t think that’s it.

I’m already changing the http and https ports. The problem here is the KasmVNC engine (I think?) port. So lets say:

Firefox Container: http 3000

Chromium Container: http 3002

if I connect to 3002 it will open the firefox container basically. It’s almost as if it’s the same VNC instance running for both

Post your compose otherwise it’s just guess work at what you’re doing wrong.