-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
This project currently sets up an empty directory as a workaround for a named container but that actually fails when the container tries to copy files into this directory. This can be seen when running a Wordpress container with a named volume.
docker-compose.yml
version: '3.8'
services:
wordpress:
image: wordpress:latest
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
volumes:
- wordpress_data:/var/www/html
this results in
wordpress: Error: internalError: "failed to change directory to '/var/www/html' Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory""
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels