I have the following compose file:
version: "3"
services:
wordpress:
image: visiblevc/wordpress
privileged: true
network_mode: bridge #should help?
# required for mounting bindfs
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse
# required on certain cloud hosts
security_opt:
- apparmor:unconfined
ports:
- 8080:80
- 8081:443
...WP parameters ommitted for brewity
When I run it, I get the following error:
When I use the CLI and curl the SAME url, I can download the information.
What should I change in the yaml to make it work automatically?
UPDATE:
As curl works manually, I don't think it as a DNS resolve error, but to make sure, I modified the resolv.conf file to a valid nameserver address:
Unfortunately, it didn't solve the issue.