📜  docker 错误:传输错误 202:gethostbyname:未知主机 spring_boot_com_mysql_1 |错误:JDWP 传输 dt_socket 初始化失败,TRANSPORT_INIT(510) - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:22.105000             🧑  作者: Mango

代码示例1
to fix in MYSQL DB, put into the docker-compose.yaml 

environment: 
            - ADDITIONAL_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005 -Xmx1G -Xms128m -XX:MaxMetaspaceSize=128m
            - PROFILE=dev