Skip to content

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

@haopenge

Description

@haopenge

[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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions