部署vulhub/weblogic/weblogic_weak_password,报错。提示如下:
for weblogic_weak_password_weblogic_1 Cannot create container for service weblogic: status code not OK but 500。。。。。(此处省略)ERROR: Encountered errors while bringing up the project.
原因是目录没有权限,导致不能创建镜像。
解决办法:
打开dokcer-Desktop设置页面:Resources-FILE SHARING,把vulhub目录添加进去,即可解决。
