Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on how to register a changelog from the liquibase docker images #1594

Open
molivasdat opened this issue Dec 16, 2020 · 0 comments

Comments

@molivasdat
Copy link
Contributor

molivasdat commented Dec 16, 2020

Environment

Liquibase Version:docker latest and docker 4.2.0

Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>CLI docker

Liquibase Extension(s) & Version: N/A

Database Vendor & Version:All

Operating System Type & Version:Mac OS

Description

Need to add documentation on how to use the docker image to register a changelog so that docker liquibase can use hub

Steps To Reproduce

run something like

docker run --rm \
                -v /Users/molivas/Documents/SE/code/props/lms_postgresql:/liquibase/project \
                 liquibase/liquibase \
                 --defaultsFile=project/liquibase.properties \
                 --changeLogFile=project/changelogupdateddemo.xml \
                 --classpath=/liquibase/project/postgresql-42.2.11.jar \
                 registerChangeLog

As the examples show on how to run a liquibase command

Actual Behavior

Error occurs
Unexpected error running Liquibase: No console available
For more information, please use the --logLevel flag

Expected/Desired Behavior

docker liquibase is able to register a changelog file and use it.

Screenshots (if appropriate)

If applicable, add screenshots to help explain your problem.

Additional Context

something like
docker run --rm -it
-v /Users/molivas/Documents/SE/code/props/lms_postgresql:/liquibase/project
liquibase/liquibase
--defaultsFile=project/liquibase.properties
--changeLogFile=project/changelogupdateddemo.xml
--classpath=/liquibase/project/postgresql-42.2.11.jar
registerChangeLog

might work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants