Deprecation error when creating new siteSee original GitHub issue
Error : time="2021-06-18T00:47:56+02:00" level=warning msg="network wplocaldocker: network.external.name is deprecated in favor of network.name" time="2021-06-18T00:47:56+02:00" level=warning msg="volume wplocaldockerCache: volume.external.name is deprecated in favor of volume.name"
I suppose things should be specified like this:
volume: external: true name: <cool-volume-name>
- Device: Macbook Air M1
- OS: Big Sur 11.4
- Docker Desktop version: 3.4.0 (65384)
- Created 2 years ago
- Comments:13 (3 by maintainers)
Top GitHub Comments
WARN network wplocaldocker: network.external.name is deprecated in favor of network.name WARN volume wplocaldockerCache: volume.external.name is deprecated in favor of volume.name
every time wp cli runs any of its commands. This is on v3.0.0 installing a new site with
10updocker create, no plugins installed using the twentytwentyone theme.
I was getting this before upgrading to 3.0.0. I’m now also getting a 3rd error every time after the upgrade:
PHP Warning: PHP Startup: Unable to load dynamic library 'newrelic.so' (tried: /usr/lib/php/20190902/newrelic.so (/usr/lib/php/20190902/newrelic.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/newrelic.so.so (/usr/lib/php/20190902/newrelic.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Everything appears to work… just annoying having to skip past all these warnings to see if everything succeeded. Note this happens after installation as well, e.g. if I run
wp option get home the same three warnings appear before my URL gets output to the console.
- Device: Macbook Pro M1
- OS: Monterey 12.0.1
- Docker Desktop 4.3.2 (72729)
Ok, looks like it is the global gateway image. You can install our test version using
npm install -g wp-local-docker@release_2_8_2. Once installed, you need to run
10updocker configure and select all default options until you are asked
Do you want to reset your global services configuration? This will reset any customizations you have made. Select ‘y’ (yes) for this question. This will replace your global configuration with an updated one that spec’s some new containers. You may still get the deprecated warning but you should be able to create sites on M1.