Open jperks-mower opened 2 years ago
I am also getting a similar message when I try to start existing environments:
jperks@SYR-JPERKS-M21 sunchemical-test % 10updocker start mower2021-test ⠧ Ensuring global services are running... Error : time="2022-05-12T11:04:57-04:00" level=warning msg="network wplocaldocker: network.external.name is deprecated in favor of network.name" Container global-mysql-1 Creating Container global-gateway-1 Creating Error response from daemon: create ./config/mysql/config.cnf: "./config/mysql/config.cnf" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
Here's another one:
jperks@SYR-JPERKS-M21 wp-content % 10updocker start ⠧ Ensuring global services are running... Error : time="2022-05-13T10:59:46-04:00" level=warning msg="network wplocaldocker: network.external.name is deprecated in favor of network.name" Container global-mysql-1 Creating Container global-gateway-1 Creating Error response from daemon: create ./ssl-certs: "./ssl-certs" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
Downgrading to Docker Desktop 4.7.1 fixed the issue
You can uncheck the "docker compose v2" option to resolve this issue as well.
Troubleshooting
Describe your question
Trying to create a new site, I am getting the following error:
jperks@SYR-JPERKS-M21 wp-local-docker-sites % 10updocker create
? What is the primary hostname for your site? (Ex: docker.test) chpe.test ? Are there additional domains the site should respond to? No ? What version of PHP would you like to use? 8.0 ? Do you want to install WordPress? Yes ? Select a WordPress installation type: Single Site ? Site Name chpe.test ? Admin Username admin ? Admin Password password ? Admin Email admin@example.com ? Do you want to remove the default content? No ? Do you want to set a proxy for media assets? (i.e. Serving /uploads/ directory assets from a production site) Yes ? Proxy URL https://chpexpress.com ? Do you need Elasticsearch No ✔ Environment directories have been created... ✔ Certificates are generated... ✔ Docker-compose configuration is created... ✔ Configuration files are copied... ⠸ Ensuring global services are running... Error : time="2022-05-12T10:04:28-04:00" level=warning msg="network wplocaldocker: network.external.name is deprecated in favor of network.name" Container global-mysql-1 Creating Container global-gateway-1 Creating Error response from daemon: create ./config/nginx/503.html: "./config/nginx/503.html" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
System info:
macOS 12.3.1 (21E258) MacBook Pro (16-inch, 2019) Docker 4.8.1 (78998)
Code of Conduct