Shopsys
  • E-shopy na míru

    • Customized e-shopsE-shopy pro koncové zákazníky. Postavené na objem, výkon v sezónních špičkách a konverzi.
    • Strategie a design
    • Integrace a měření
    • Platforma
    • Pro koho
    • Inovace a vize
  • Showcase
    • BlogNovinky z vývoje platformy a e-shopy, které na ní stojí.
    • Exec magazínOdborný magazín pro e-commerce manažery s obsahem, který jinde nenajdete.
  • Shopsys

    • CompanyKdo jsme a pro koho stavíme.
    • KariéraOtevřené pozice a jak u nás vypadá práce.

    Partnerství

    • PartnersPro agentury a vývojáře, kteří chtějí stavět na Shopsys Platform.
    • Solution PartnersAgentury, se kterými spolupracujeme.

    PR a výsledky

    • Výroční zprávyVýsledky hospodaření za jednotlivé roky.
  • Contact
Get a Quote

Improved running Shopsys Framework in Docker on MacOS using Mutagen

Tomáš Ludvik
For Developers
7. 5. 2021

At the end of 2017, we started using Docker as the default installation method of Shopsys Framework. Docker installation came with many benefits like the same development environment for all developers or fast installation on new machines. On Windows and MacOS it was necessary to use docker-sync to overcome Docker performance issues. Sadly, docker-sync brought some issues on its own. The main problem is that with a bigger load of changes (e.g. during git checkout) it can happen that synchronization can stop altogether.

We were looking to overcome this issue and recently we updated our installation guide for Windows that is using WSL2 now and does not need docker-sync anymore. That left us with finding a better solution for developers with MacOS and hopefully we found some.

Recently we have started testing Mutagen as a replacement for docker-sync. Mutagen comes with almost identical performance as docker-sync, but from our testing, it seems to be much more stable. We want to test it more before adding it to Shopsys Framework directly, but we are pretty happy with the results so far. We want to share this small installation guide with you, so you can test it on your own. Any feedback would be greatly appreciated.

Installation guide (~10 minutes)

  • install Mutagen in beta version
  • brew install mutagen-io/mutagen/mutagen-beta (beta is only version with mutagen compose for now)
    • if error occurs saying something like “formulae is incorrect” run:
    • brew untap havoc-io/mutagen
    • brew install mutagen-beta
  • copy docker-compose.yml to your project and update it appropriately
  • run mutagen compose up -d
  • then run docker-compose exec -u root php-fpm chown -R www-data:www-data /var/www/html
    • this is necessary to run every time after mutagen-compose up because of known bug with permissions in root folder

Note:
mutagen compose is just a wrapper above docker-compose that ensures that mutagen synchronization is started up before running docker-compose commands. Commands are all the same, you just replace docker-compose for mutagen compose like mutagen compose exec php-fpm bash.

Debugging with Mutagen

Another strong benefit of having running on Mutagen is that Mutagen comes with few ways to debug, if some problem occurs:

  • mutagen sync list shows list of currently running synchronization and displays potential problems that might occur
  • mutagen sync monitor displays in real-time what Mutagen does and in case of problem displays Error or Problem. In such a case you have to run mutagen sync list command to get detailed information about the problem.
2. 6. 2026 MCP and AI Client Access Now in Shopsys Platform! Ask Your E-shop What You Want to Know
1. 6. 2026 Release Highlights 19.0.0
30. 12. 2025 Release Highlights 18.0.0

Get
an Estimate

We will gladly prepare an estimate of your project's time and costs. Please fill out the form below. We will get back to you shortly.

    I take into account that my personal data are processed by Shopsys s.r.o. To get more information read our Privacy policy.
    • Customized e-shops
    • Products
      • Shopsys Platform
      • Shopify Plus
    • Partners
      • Become a Partner
      • Solution Partners
    • Showcase
    • About Us
      • Company
      • For Media
    • Resources
      • Blog
      • Case Studies
      • Ebook
      • EXEC magazine
      • Ecommerce Dictionary
      • Materials For Developers
    • Contact
    Facebook Facebook Twitter Twitter LinkedIn LinkedIn GitHub GitHub Slack Slack
    Get a Quote

    © 2003-2026 Shopsys s.r.o., All rights reserved.
    Privacy Policy | Cookie Settings
    Member of ABUGO Group (Shopsys | Smartsupp | Survio | Reservio )

    Manage Consent
    To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
    Necessary Always active
    Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Analytics
    The technical storage or access that is used exclusively for statistical purposes. Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
    Advertisement
    Advertisement cookies help us provide our visitors with relevant ads and marketing campaigns.
    • Manage options
    • Manage services
    • Manage {vendor_count} vendors
    • Read more about these purposes
    View preferences
    • {title}
    • {title}
    • {title}