Hello all, I am trying to deploy to ecs with Docke...
# deployment-ecs
a
Hello all, I am trying to deploy to ecs with Docker with no changes to the example deploy_ecs files and I keep getting a:
Copy code
UsercodeService EssentialContainerExited: Essential container in task exited
I turned on CloudWatch and see that it is getting the following error:
Copy code
standard_init_linux.go:228: exec user process caused: exec format error
Lots of info on that online, mainly the fix being forgetting to put a
#!/bin/bash
in a file but I have no idea where to even start looking for a fix here.
d
Hey Aaron - are you possibly on an m1 Mac? In the past when we’ve seen this, the issue was architecture incompatibilities and the fix was to rebuild the image with
docker build --platform linux/amd64
.
a
I am on an m1 mac
heh.. isn’t everyone anymore?
d
nice - we should make that the default platform