To all the adventurous apple M1 users out there (and in general everyone working with different OS):
How do you build your prefect flows to ensure that the docker images run on different/the desired architectures/OS?
z
Zach Angell
04/06/2021, 4:50 PM
Hi Robin! I'm working on an apple M1 and might be able to help a bit. Is there any specific issues you've encountered so far?
k
Kevin Kho
04/06/2021, 5:10 PM
I’ve been using RC2 and haven’t really encountered problems. I use conda as a package amanager.
z
Zach Angell
04/06/2021, 5:10 PM
same here upvote
n
Nathan Atkins
06/02/2021, 3:15 PM
I’m having issues with
prefect server start
on my M1.
Copy code
graphql_1 | Error: HTTPConnectionPool(host='hasura', port=3000): Max retries exceeded with url: /v1/query (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x400c81a290>: Failed to establish a new connection: [Errno -2] Name or service not known'))
apollo_1 | Checking GraphQL service at <http://graphql:4201/health> ...
apollo_1 | Checking GraphQL service at <http://graphql:4201/health> ...
t_graphql_1 exited with code 1
t_hasura_1 exited with code 137
I just updated docker desktop to
Docker version 20.10.5, build 55c4c88
z
Zach Angell
06/02/2021, 3:29 PM
@Nathan Atkins if you haven't already, can you try bumping up your Docker resource limit for
memory
?
my memory is at 15 GB to be safe, you can certainly get away with less though
I think this error is actually Docker running out of memory, hence the 137 exit code for hasura
n
Nathan Atkins
06/02/2021, 3:35 PM
👍👍 Thanks for the quick help. That did the trick with minimal effort. Now to see if it solves one of my other project docker-compose issues.
👍 1
z
Zach Angell
06/02/2021, 3:48 PM
@Marvin archive "Hasura exiting with code 137 because docker needs more RAM"
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.