question

David Rochin avatar image
David Rochin asked

Can't run server withing a container: exited with exit code 1 (even though I copied all DLLs)

Hello!

I've been trying to get my game server to run on a container in my local machine for 2 days with no success. I've followed all the steps in Verifying containerization, yet, I keep getting this when I try to run MockVmAgent.exe with 'RunContainer' set to 'true'.


  • Ensured Docker is set up to use Windows containers.
  • Ran Setup.ps1
  • Modified the MultiplayerSettings.json
  • Copied all DLLs my game uses (I did use ListDlls)
  • Verified that the server runs with 'RunContainer' set to false.
10 |1200

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

1 Answer

·
David Rochin avatar image
David Rochin answered

The problem is that the Windows Server Core container cannot run 32 bit Unity builds for some reason. The executable file just did nothing when I tried to run it. Building my server for 64 bit (x86_64) solved the problem.

1 comment
10 |1200

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

Bijian Wu avatar image Bijian Wu commented ·

Thanks for you answer, that saved my day!

0 Likes 0 ·

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.