[fix] Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /home/traefik/dockerWork/workpress/wordpress #104

Open
opened 2025-11-06 14:18:48 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @luojiyin1987 on GitHub (Jan 15, 2024).

The error message you encountered is from the Docker daemon, and it indicates that you tried to mount a directory binding from the local filesystem into a Docker container, but the specified source path does not exist

I run mkdir -p /home/traefik/dockerWork/workpress/wordpress to solve it .

I see some doc . I set wordpress volumes to solve it.

volumes:
      - ./wordpress_data:/var/www/html

I hope it will help others.

Originally created by @luojiyin1987 on GitHub (Jan 15, 2024). The error message you encountered is from the Docker daemon, and it indicates that you tried to mount a directory binding from the local filesystem into a Docker container, but the specified source path does not exist I run `mkdir -p /home/traefik/dockerWork/workpress/wordpress` to solve it . I see some [doc](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose) . I set wordpress volumes to solve it. ```yaml volumes: - ./wordpress_data:/var/www/html ``` I hope it will help others.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#104