question

Miguel B. avatar image
Miguel B. asked ·

Web Server Agent in a Docker Environment

Hi,

We are trying to install a Web Server Agent in an Apache Server, inside a containerized environment.

For reference, we are following this github account -> https://github.com/Dynatrace/Dynatrace-AppMon-Dock...

In there, I found the following DockerFile:

Here, I can see that there are 2 services launched in the same container, which is not good practice inside a containerized environment.

My questions are:

How do the Master+Slave Agents communicate?

Do they have to be in the same container as a must?

Thanks!

6.5agentdockerapache
1 comment
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

@Michael L. @Kristof R. Any comments on this?

0 Likes 0 · ·

1 Answer

Rick B. avatar image
Rick B. answered ·

Being inside the same container is a must. The agent library (slave) and process (master) use a "shared memory" file inside the container and need to be in sync.

Secondarily i would comment that containers with multiple (albeit a very few) cooperative services in the same container is not so uncommon. We have containers which do UI Automation testing, which instantiate Xvfb before running Selenium, for instance.

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.