CM2Walki/CSGO

Error on creating container in Azure Container Instances

asensionacher opened this issue · 2 comments

I'm trying to execute your image in Azure Container Instances, but I receive this error

2020-11-11T12:21:41.5924852Z stderr F /home/steam/steamcmd/steamcmd.sh: line 37: /home/steam/steamcmd/linux32/steamcmd: cannot execute binary file: Exec format error
2020-11-11T12:21:47.3000582Z stderr F tar: /home/steam/csgo-dedicated/csgo: Cannot open: No such file or directory
2020-11-11T12:21:47.3000582Z stderr F tar: Error is not recoverable: exiting now
2020-11-11T12:21:47.3230667Z stderr F sed: can't read /home/steam/csgo-dedicated/csgo/cfg/server.cfg: No such file or directory
2020-11-11T12:21:47.3250689Z stderr F bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory

I'm using this command line for executing the instance
sudo docker run -p=27015:27015 --name=csgo-dedicated --env-file env-list.txt cm2network/csgo

Thanks

My bad, sorry

(Since I was typing this out before you closed it)

The issue was this line:

2020-11-11T12:21:41.5924852Z stderr F /home/steam/steamcmd/steamcmd.sh: line 37: /home/steam/steamcmd/linux32/steamcmd: cannot execute binary file: Exec format error

It indicates that there was an architecture mismatch, it is very likely that the instance that was being used didn't have a 64 bit CPU and a 64 bit kernel.