https://www.elegantthemes.com/documentation/developers/divi-development-environment/

docker-compose.yml
version: '3.3'

services:

  mariadb:
    image: 'mariadb:10.2.14'
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: wordpress
      DATADIR: /data
    restart: on-failure
    volumes:
      - 'database:/data'
    network_mode: 'service:wordpress'

  wordpress:
    image: 'elegantthemes/divi-dev'
    hostname: divi-dev
    volumes:
      - '${PWD}:/workspace/wordpress'
    ports:
      - '80:80'     # nginx
      - '3306:3306' # mariadb
      - '3000:3000' # webpack hmr

volumes:
  database: {}
docker-compose up -d

Nos da un error por ip6 de php-fpm, se soluciona así:

docker-compose exec wordpress sed -i 's/listen = \[::\]:9000/listen = 9000/g' /etc/php/7.3/fpm/pool.d/www.conf

Instalamos wordpress:

docker-compose exec -u 1000 wordpress divi-dev setup
URL:       http://local.divi-dev.site
Username:  divi-dev
Password:  password

local.divi-dev.site apunta a nuestra ip local 127.0.0.1

Ya podemos entrar en:

http://local.divi-dev.site/admin