---
title: "Discussion on \"Deploying Docker Containers to Heroku from a Mac M1 Machine\" | Hashnode"
description: "Discussion on \"Deploying Docker Containers to Heroku from a Mac M1 Machine\". This article provides a solution to the \"Exec Format\" error when building and pushing Docker images to Heroku from a Mac M1 machine."
url: "https://hashnode.com/posts/deploying-docker-containers-to-heroku-from-a-mac-m1-machine/61c06eb8c4195d32e16a4afb"
---

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

Discussion

# [Deploying Docker Containers to Heroku from a Mac M1 Machine](https://blog.saurav-shrivastav.online/deploying-docker-containers-to-heroku-from-a-mac-m1-machine?utm_source=hashnode&utm_medium=feed)

This article provides a solution to the "Exec Format" error when building and pushing Docker images to Heroku from a Mac M1 machine.

Dec 20, 2021 · 2 min read · blog.saurav-shrivastav.online  
Updated Apr 15, 2022  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#macos](https://hashnode.com/tag/macos)
-   [#heroku](https://hashnode.com/tag/heroku)

## Written by

[Saurav Shrivastav](https://hashnode.com/@saurav23)

@saurav23

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

Ex-Engineering Intern @ LinkedIn | Google Summer of Code'21 @ PostgreSQL | Ex-Google DSC Lead | Computer Science Undergrad

## Responses 2

Markdown supported · ⌘↵ to post

[Aniket Biswas](https://hashnode.com/@aniketbiswas21)

[Apr 15, 2022](https://hashnode.com/posts/deploying-docker-containers-to-heroku-from-a-mac-m1-machine/61c06eb8c4195d32e16a4afb/comment/625954752f84e0d4fc33b2c9)

Excellent read! Saved me hours of headache :)

[Maulika Luthra](https://hashnode.com/@maulikaluthra)

[Dec 20, 2021](https://hashnode.com/posts/deploying-docker-containers-to-heroku-from-a-mac-m1-machine/61c06eb8c4195d32e16a4afb/comment/61c0d1f1c4195d32e16a5730)

Great work! 👍

[Saurav Shrivastav](https://hashnode.com/@saurav23)

[Dec 20, 2021](https://hashnode.com/posts/deploying-docker-containers-to-heroku-from-a-mac-m1-machine/61c06eb8c4195d32e16a4afb/comment/61c0d1f1c4195d32e16a5730#reply-61c0d66a02755832385f4afc)

Thanks Maulika!
