I couldn't launch a drupal11 site with ddev in a straightforward manner.

As far as ddev's guide is concerned, the following commands should have set up the site locally.

mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev start
ddev composer create drupal/recommended-project:^11
ddev composer require drush/drush
ddev drush site:install --account-name=admin --account-pass=admin -y
ddev launch
# or automatically log in with
ddev launch $(ddev drush uli)

However, I'm not sure if I'm doing my daily routine right, but I keep getting an error at the ddev composer create point.

me: demo-11 % ddev composer create drupal/recommended-project drupal
Failed to create project: '/Users/me/drupal/demo/demo-11/.DS_Store' is not allowed to be present. composer create needs to be run on a clean/empty project with only the following paths: [web web/sites web/sites/default web/sites/default/.gitignore web/sites/default/files web/sites/ default/files/sync web/sites/default/settings.ddev.php web/sites/default/settings.php] - please clean up the project before using 'ddev composer create'

Looking at it, it looks like the .DS_Store that mac creates on its own is getting in the way. 
The ↓ around ddev composer in the ddev guide The description seems pretty strict.

When using ddev composer create your project should be essentially empty or the command will refuse to run, to avoid loss of your files.

While researching, I found that in relation to this .DS_Store, the recent DrupalCMS installation uses . /launch-drupal-cms.sh that deals with .DS_Store

Make the DDEV launcher script more relaxed and fault- tolerant

It looks the installer finds a .DS_Store file (typical of Mac OS X) that I cannot even see and find in the drupal-cms folder, also as an invisible file.

It looks like .DS_Store is still the bad guy. And the Issue goes further

When you look at a folder in Finder, it puts a .DS_Store in there, and DDEV freaks out because the directory is, as far as it's concerned, not empty.

The workaround for you is to not open the directory in Finder, and do this in Terminal:

It is true that .DS_Store was not created when I completed the work in Terminal.

On the other hand, drupal/recommended-project:^11 did not go through. 

% ddev composer create drupal/recommended-project:^11
zsh: no matches found: drupal/recommended-project:^11

% ddev composer create drupal/recommended-project    
Executing Composer command: [composer create-project drupal/recommended-project --no-plugins --no-scripts --no-install /tmp/RibuVw]
 
Creating a "drupal/recommended-project" project at "/tmp/RibuVw"
Installing drupal/recommended-project (11.1.1)
Plugins have been disabled.
  - Downloading drupal/recommended-project (11.1.1)
  - Installing drupal/recommended-project (11.1.1): Extracting archive

So the conclusion is following commands.
And mac users should never open the Finder. 

mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev start
ddev composer create drupal/recommended-project
ddev composer require drush/drush
ddev drush site:install --account-name=admin --account-pass=admin -y
ddev launch
# or automatically log in with
ddev launch $(ddev drush uli)
Tags