Corrupt export with Docker shared volume
-
Hi
On a Windows 10 machine running WordPress locally using this docker-compose file:
# docker-compose.yml version: '3.3' services: db: image: mysql:5.7 volumes: - ./db_data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: somewordpress MYSQL_DATABASE: wordpress MYSQL_USER: wordpress MYSQL_PASSWORD: wordpress wordpress: depends_on: - db image: wordpress:4.9.6-apache ports: - "8000:80" restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: wordpress volumes: - ./html:/var/www/html
The export using All in One produces a corrupt .wpress file. Here is an image of a working copy on the right, and corrupt copy of the left
If you don’t share the volume (ie keep the filesystem inside the Linux container) then the export works.
The corrupt file actually looks like it works, and imports properly, but produces a directory structure as shown below, and doesn’t do the import properly.
https://ibb.co/f47Gno
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Corrupt export with Docker shared volume’ is closed to new replies.