Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Error response from daemon #304

Open
2 tasks done
jperks-mower opened this issue May 12, 2022 · 4 comments
Open
2 tasks done

Error response from daemon #304

jperks-mower opened this issue May 12, 2022 · 4 comments
Labels
question Further information is requested

Comments

@jperks-mower
Copy link

jperks-mower commented May 12, 2022

Troubleshooting

  • I have attempted to troubleshoot this already

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 [email protected]
? 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

  • I agree to follow this project's Code of Conduct
@jperks-mower jperks-mower added the question Further information is requested label May 12, 2022
@jperks-mower
Copy link
Author

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

@jperks-mower
Copy link
Author

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

@jperks-mower
Copy link
Author

Downgrading to Docker Desktop 4.7.1 fixed the issue

@dustinrue
Copy link
Collaborator

You can uncheck the "docker compose v2" option to resolve this issue as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants