dockercompose-springboot-mysql-nginx icon indicating copy to clipboard operation
dockercompose-springboot-mysql-nginx copied to clipboard

I try to run it ,but it had a error,please help me to result it.

Open haopenge opened this issue 6 years ago • 0 comments

[root@localhost test]# docker-compose up Creating network "test_default" with the default driver Building app Step 1/1 : FROM maven:3.5-jdk-8 ---> 15577192293a Successfully built 15577192293a WARNING: Image for service app was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build. Creating some-nginx ... done Creating some-mysql ... done Creating test_app_1 ... done Attaching to some-nginx, some-mysql, test_app_1 some-mysql | [Entrypoint] MySQL Docker Image 5.7.22-1.1.5 some-mysql | [Entrypoint] Initializing database app_1 | Can not write to /root/.m2/copy_reference_file.log. Wrong volume permissions? Carrying on ... app_1 | [ERROR] Could not create local repository at /root/.m2/repository -> [Help 1] app_1 | [ERROR] app_1 | [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. app_1 | [ERROR] Re-run Maven using the -X switch to enable full debug logging. app_1 | [ERROR] app_1 | [ERROR] For more information about the errors and possible solutions, please read the following articles: app_1 | [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException some-mysql | [Entrypoint] Database initialized ^CGracefully stopping... (press Ctrl+C again to force)

haopenge avatar Jun 10 '18 12:06 haopenge