* 第一步:新建 `docker-compose`文件到任意目录,并添加下方内容 ``` version: '2' services: jimureport-mysql: environment: MYSQL_ROOT_PASSWORD: root restart: always container_name: jimureport-mysql image: 1298191366/jimureport-mysql:1.5.4 command: --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --explicit_defaults_for_timestamp=true --lower_case_table_names=1 --max_allowed_packet=128M ports: - 3307:3306 jimureport: container_name: jimureport image: 1298191366/jimureport:1.5.4 ports: - 8085:8085 ``` ![](https://img.kancloud.cn/db/c5/dbc5b2ac00c0a09def45872c210e4ac2_1165x175.png) 第二步:进入所创建的目录执行docker命令 ``` docker-compose up -d ``` > 运行成功示意图 ![](https://img.kancloud.cn/a5/71/a571b36bec6f00d9d99ef00dd8f06dc5_1211x83.png) 第三步:访问积木报表地址 http://localhost:8085/jmreport/list ![](https://img.kancloud.cn/06/19/06196fc9642471506a3f1e2590a7d6a9_1734x922.png)