Skip to content

Commit b2ad5d6

Browse files
committed
Add one time notice for MacOS for updating Docker daemon.json
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 12c78dc commit b2ad5d6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

php/EE/Runner.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,17 @@ private function maybe_trigger_migration() {
873873

874874
if ( ! $db_version ) {
875875
$this->trigger_migration( $current_version );
876+
EE::log( 'ee successfully setup.' );
877+
if ( IS_DARWIN ) {
878+
EE::log( 'To create more than 27 sites follow these steps manually: ' . "\n" .
879+
'1. Please open Docker Desktop and in taskbar, go to Preferences > Daemon > Advanced. ' . "\n" .
880+
'2. If the file is empty, add the following:' . "\n" .
881+
' {' . "\n" .
882+
'"default-address-pools": [{"base":"10.0.0.0/8","size":24}]' . "\n" .
883+
' }' . "\n" .
884+
'If the file already contains JSON, just add the key "default-address-pools": [{"base":"10.0.0.0/8","size":24}] being careful to add a comma to the end of the line if it is not the last line before the closing bracket.' . "\n" .
885+
'3. Restart Docker' );
886+
}
876887
return;
877888
}
878889

0 commit comments

Comments
 (0)