docker-compose persisting folder empty

I would like use bitnami-dockerredmine with docker-compose persisting on Windows.

If i run the first exemple docker-compose.yml, without persisting application, redmine start and run perfectly.

  • How to force application's stdout logs through uwsgi?
  • npm not working after export MSYS_NO_PATHCONV on Git Bash
  • What are the Docker RUN params for mimicking IronWorker memory constraints?
  • Cannot hit docker container running locally
  • Docker minimum kernel version 3.8.13 or 3.10
  • Adding Android dependencies to Docker build image - Bitbucket Pipelines (CI)
  • But, i would like use this with persisting application exemple :

    version: '2'
    services:
        mariadb:
            image: 'bitnami/mariadb:latest'
            environment:
                - ALLOW_EMPTY_PASSWORD=yes
            volumes:
                - './mariadb:/bitnami/mariadb'
        redmine:
            image: bitnami/redmine:latest
            ports:
                - 80:3000
            volumes:
                - './redmine:/bitnami/redmine'
    

    And only MariaDB run, with error message :

    $ docker-compose up
    Creating bitnamidockerredmine_redmine_1
    Creating bitnamidockerredmine_mariadb_1
    Attaching to bitnamidockerredmine_mariadb_1, bitnamidockerredmine_redmine_1
    mariadb_1  |
    mariadb_1  | Welcome to the Bitnami mariadb container
    mariadb_1  | Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb
    mariadb_1  | Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb/issues
    mariadb_1  | Send us your feedback at containers@bitnami.com
    mariadb_1  |
    mariadb_1  | WARN  ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
    mariadb_1  | nami    INFO  Initializing mariadb
    mariadb_1  | mariadb INFO  ==> Configuring permissions...
    mariadb_1  | mariadb INFO  ==> Validating inputs...
    mariadb_1  | mariadb WARN  Allowing the "rootPassword" input to be empty
    redmine_1  |
    redmine_1  | Welcome to the Bitnami redmine container
    redmine_1  | Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redmine
    redmine_1  | Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redmine/issues
    redmine_1  | Send us your feedback at containers@bitnami.com
    redmine_1  |
    redmine_1  | nami    INFO  Initializing redmine
    redmine_1  | redmine INFO  Configuring Redmine database...
    mariadb_1  | mariadb INFO  ==> Initializing database...
    mariadb_1  | mariadb INFO  ==> Creating 'root' user with unrestricted access...
    mariadb_1  | mariadb INFO  ==> Enabling remote connections...
    mariadb_1  | mariadb INFO
    mariadb_1  | mariadb INFO  ########################################################################
    mariadb_1  | mariadb INFO   Installation parameters for mariadb:
    mariadb_1  | mariadb INFO     Root User: root
    mariadb_1  | mariadb INFO     Root Password: Not set during installation
    mariadb_1  | mariadb INFO   (Passwords are not shown for security reasons)
    mariadb_1  | mariadb INFO  ########################################################################
    mariadb_1  | mariadb INFO
    mariadb_1  | nami    INFO  mariadb successfully initialized
    mariadb_1  | INFO  ==> Starting mariadb...
    mariadb_1  | nami    ERROR Unable to start com.bitnami.mariadb: Warning: World-writable config file '/opt/bitnami/mariadb/conf/my.cnf' is ignored
    mariadb_1  | Warning: World-writable config file '/opt/bitnami/mariadb/conf/my.cnf' is ignored
    mariadb_1  |
    bitnamidockerredmine_mariadb_1 exited with code 1
    redmine_1  | mysqlCo INFO  Trying to connect to MySQL server
    redmine_1  | Error executing 'postInstallation': Failed to connect to mariadb:3306 after 36 tries
    bitnamidockerredmine_redmine_1 exited with code 1
    

    My ./mariadb folder is good, but ./redmine is empty.

    Do you have any idea why my persisting does not start completely ? Without the persisting, it works 🙁

    docker-version : 1.13.0 (client/server)
    plateform : Windows 10 (sorry, not test on Linux)
    

    Thank you !

  • What is the docker registry v2 API endpoint to get the digest for an image?
  • Is it correct to attach code through volume in kubernetes?
  • Having Docker image renaming issue
  • Multiple docker containers
  • Prevent docker-machine from downloading newer boot2docker iso?
  • installing a GCC compiler onto a Docker Container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.