question

waleed avatar image
waleed asked

Unable to run dockerized linux build

Hello, We have successfully run dockerized Linux build with LMA on our local environment... But when we push it to the Playfab as a container image running on Linux, we end up with unhealthy status. We are following the official documentation available here "https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/deploying-linux-based-builds"

We have also tried penetrating the running machine through ssh and getting the logs, however, we don't find anything in the folder, the command defined in our dockerfile to run the container is this "CMD ["Build/build.x86_64", "-nographics", "-batchmode", "-log-file", "UnityEditor.log"]" we have also tried with "-logfile" option but no success.

Is there anything other than the above we can try to find out what is going on and why our builds are failing on the playfab but not with LMA interacting with local docker? And why does the parameter -logfile or -log-file not create any logs what could be potentially wrong from our end? thanks!

multiplayer
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Gosen Gao avatar image
Gosen Gao answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dimitris Gkanatsios avatar image
Dimitris Gkanatsios answered

And why does the parameter -logfile or -log-file not create any logs what could be potentially wrong from our end

That is supposed to be a Unity parameter that tells the engine to send logs to standard output. Not sure what the appropriate value is, last time I tried with -logfile on the UnityMirror sample it did work: https://github.com/PlayFab/MpsSamples/tree/main/UnityMirror

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.