---
title: "Discussion on \"exec format error\": images built on an Apple Silicon Mac, running on an x86 server\" | Hashnode"
description: "Discussion on \"exec format error\": images built on an Apple Silicon Mac, running on an x86 server\". The image runs fine on your Mac. You push it, pull it on a cloud server, and the container exits immediately:\nexec /app: exec format error\n\nThe image isn't corrupted. It was built for the wrong CPU. A"
url: "https://hashnode.com/posts/exec-format-error-images-built-on-an-apple-silicon-mac-running-on-an-x86-server/6af5b99c2a527ab050c0d0c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [exec format error": images built on an Apple Silicon Mac, running on an x86 server](https://anders.hashnode.dev/exec-format-error-images-built-on-an-apple-silicon-mac-running-on-an-x86-server?utm_source=hashnode&utm_medium=feed)

The image runs fine on your Mac. You push it, pull it on a cloud server, and the container exits immediately: exec /app: exec format error The image isn't corrupted. It was built for the wrong CPU. A

22m ago · 4 min read · anders.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#data](https://hashnode.com/tag/data)
-   [#parsing](https://hashnode.com/tag/parsing)
-   [#opendata](https://hashnode.com/tag/opendata)
-   [#docker](https://hashnode.com/tag/docker)
-   [#macos](https://hashnode.com/tag/macos)
-   [#arm64](https://hashnode.com/tag/arm64)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[anders lee](https://hashnode.com/@anderslee)

@anderslee

  
[View profile](https://hashnode.com/@anderslee)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
