Hi @cleanops .
When you use -v /home/administrator/liquibase/changelog:/liquibase/changelog you are mounting the filesystem /home… into /liquibase/changelog inside the container. So when liquibase goes to run, it executes inside the /liquibase folder inside the container.
This means for the changelog file in the container you would reference changelogFile in following way.
./changelog/<path_to_rest_of_directory_structure>
i.e. if I mount /home/administrator/liquibase/HR/changelog/ to /liquibase/changelog
you would find the file in ./changelog/procedures/changelog.xml
or
changeLogFile=./changelog/procedures/changelog.xml
I would also make sure that the user running the docker command has read/write permission to the /home/administrator/liquibase/HR/changelog directory structure.
-
Learn
-
Resources
-
Free Tools
OSS Risk Scanner Database DevOps Risk AssessmentCheat Sheets
Snowflake + Liquibase Databricks + Liquibase -
eBooks
6 Liquibase Community Risks & How to Avoid Guide: SOC 2 Compliance at the Database Layer Guide: Quantify the Value of Liquibase Secure -
Comparison Guides
Liquibase vs. Flyway Liquibase vs. Bytebase Liquibase Community vs Liquibase Secure
-
- Quickstart
- Get Started
- Documentation
- University
-
Resources
- Connect
- Contribute
- Join
- Blog