Open robinlennox opened 2 years ago
You can do this using volumes:
docker volume create cerebro_conf
docker run --name cerebro -v cerebro_conf:/opt/cerebro/conf -dp 9000:9000 lmenezes/cerebro
On MacOS, the volume is hidden and run in a small VM. To edit application.conf on your host machine:
docker cp cerebro:/opt/cerebro/conf/application.conf ~/Downloads/application.conf
# edit ~/Downloads/application.conf
docker cp ~/Downloads/application.conf cerebro:/opt/cerebro/conf/application.conf
docker restart cerebro
This would allow the changes to the conf file to be persistent between reboots.