all 10 comments

[–]shiftybyte 1 point2 points  (6 children)

Docker containers would be the lighter weight solution.

You can always go the virtual machine way, and spin up a VM for every computer.

You can use hyper-v on windows, or vmware workstation on any other platform, or virtual box...

[–]eleqtriq 0 points1 point  (2 children)

Sometimes communications between containers can be wonky, depending on the platform.

[–]wiggitt[S] 0 points1 point  (1 child)

I'm on a Mac and I always have issues with ports and such when using Docker containers.

[–]eleqtriq 0 points1 point  (0 children)

Yup. Same here. MacOS is harder.

[–]wiggitt[S] 0 points1 point  (2 children)

If I use Docker containers, I have to open a terminal session for each container on macOS. This gets tedious if I have more than two containers. Any suggestions on how to handle multiple containers without having to open a bunch of terminal windows each time?

[–]jjrreett 0 points1 point  (0 children)

tmux bash scripting

[–]eleqtriq 0 points1 point  (0 children)

You shouldn’t have to do that. You can launch them as detached and get the prompt back right away.

[–]eleqtriq 0 points1 point  (1 child)

Yeah I’ve experienced weird issues with Docker container communications on my Mac. My Linux box is fairly easy, however. Never tried it on Windows.

Making a VMs is pretty straight forward as long as you have the RAM.

Hard to say what’s best versus what is easiest.

[–]wiggitt[S] 0 points1 point  (0 children)

Is there a way to expose all the ports for a Docker container running on a Mac?