https://dagster.io/ logo
#deployment-ecs
Title
# deployment-ecs
a

Aaron Newcomer

09/27/2022, 10:35 PM
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

daniel

09/27/2022, 10:44 PM
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

Aaron Newcomer

09/27/2022, 11:02 PM
I am on an m1 mac
heh.. isn’t everyone anymore?
d

daniel

09/28/2022, 3:44 AM
nice - we should make that the default platform
9 Views