Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12062

[Windows] Maven profile "docker.mysql" broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 13.1.2, 13.3.0
    • 14.3.0
    • None
    • Pulsar
    • Platform 223 - 2019 Follow-up, Pulsar 234 - ContentSearch Fin, Pulsar 235 - Eng OKRs

    Description

      On 13.3.0, on Windows 10 with Docker Desktop 2.0.0.3 and Powershell, using default mysql profile as documented on [1] fails.

        mvn clean install
        mvn -P docker.build
        mvn -P docker.run,docker.mysql
      

      1) First it produces:

      ERROR DOCKER> Error occurred during container startup, shutting down...
      ERROR DOCKER> I/O Error [Unable to create container for [mysql:8.0] : Mount denied:
      The source path "C:/work/docker/myproject13.1.2/target/mysql-data"
      doesn't exist and is not known to Docker (Internal Server Error: 500)]
      

      This also happens on 13.1.2.

      2) Then, after having created target/mysql-data, it passes that part but then no Tomcat is started. Only a mysql container is visible after docker ps command.
      This does NOT happen on 13.1.2.
      Just doing mvn -P docker.run is fine.

      [1] https://documentation.bloomreach.com/library/development/docker/run-and-develop-with-docker.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: