I have installed REDMINE using docker and I have to edit configuration.yml file inside container.
I have to edit it but while I am restarting container, all file edited data is lost.
Is there any way to permanently edit the file of docker container?
Docker version 1.9.1 & OS is Linux version 4.1.10-17.31.amzn1.x86_64
Please have a look what i have done till now:
$ docker pull sameersbn/redmine:latest
$ docker pull sameersbn/mysql:latest
$ docker run --name=mysql -d -e ‘DB_NAME=redmine_production’ -e ‘DB_USER=redmine’ -e ‘DB_PASS=password’ sameersbn/mysql:latest
$ docker run --name=redmine -d -p 80:80 --link mysql:mysql sameersbn/redmine:latest
But to configure SMPT mailing server in Redmine container. I have to edit config/configuration.yml file. So,
$ docker exec -it redmine /bin/bash
$ vi config/configuration.yml
After editing and saving it.
$ exit
$ docker restart
After it when i recheck the edited data of config/configuration.yml then all data is lost. And file become as original one.