Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

cloud SDK, how to use dispatcher locally with M1 mac? Get errors in validator.


Level 9

When you run this on M1 Mac:


./bin/validate.sh ~/dev/git/our-web/dispatcher/src


 You get:


WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
reading immutable file list from /etc/httpd/immutable.files.txt
checking 'conf.d/available_vhosts/default.vhost' immutability (if present)
checking existing 'conf.d/available_vhosts/default.vhost' for changes
immutable file 'conf.d/available_vhosts/default.vhost' has been changed:
--- /etc/httpd/conf.d/available_vhosts/default.vhost
+++ /etc/httpd-actual/conf.d/available_vhosts/default.vhost
@@ -17,8 +17,6 @@
 	ServerAlias	 "*"
 	# Use a document root that matches the one in conf.dispatcher.d/default.farm
 	DocumentRoot "${DOCROOT}"
-	# URI dereferencing algorithm is applied at Sling's level, do not decode parameters here
-	AllowEncodedSlashes NoDecode
 	# Add header breadcrumbs for help in troubleshooting
 	<IfModule mod_headers.c>
 		Header add X-Vhost "publish"
@@ -41,6 +39,8 @@
 		SetOutputFilter DEFLATE
 		# Don't compress images
 		SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
+		# Make sure proxies don't deliver the wrong content
+		Header append Vary User-Agent env=!dont-vary
 		# Prevent clickjacking
 		Header always append X-Frame-Options SAMEORIGIN
** error: immutable file 'conf.d/available_vhosts/default.vhost' has been changed!


There are 2 issues here: 

  1. Incompatible image platform.
  2. its complaining because default.vhost has been edited, but this project was generated form the archetime, and we havent edited it.  We dont know what it should be (Where is the file its comparing it to)?

Any suggestions how to fix these two?

3 Replies


Employee Advisor

@TB3dock ,


Have you done the set up using below link

Set up Dispatcher Tools for AEM as a Cloud Service Development | Adobe Experience Manager

As I tried creating a project using archtype and did the same on windows machine and its working fine.




Level 9
windows works no problem, because windows supports the Intel VM requird by dispatcher. Also, intel macs work, as they also support the intel docker image. Its M1 macs which dont work, as they dont use intel architecture.