schemacrawler / SchemaCrawler

Free database schema discovery and comprehension tool
http://www.schemacrawler.com/
Other
1.62k stars 200 forks source link

Do not alias schemacrawler in Docker #274

Closed cadavre closed 4 years ago

cadavre commented 4 years ago

Issue

With alias set in .bashrc it's impossible to call schemacralwer.sh with docker for one-run. BTW It was extremely difficult to find "binary" because of this. Please do not do that in the future!

sualeh commented 4 years ago

If you run

docker run \
-v /root:/home/schcrwlr/share \
--name schemacrawler \
--rm -d -i -t \
--entrypoint=/bin/bash \
schemacrawler/schemacrawler

Something like this would work just fine: docker exec -t schemacrawler /opt/schemacrawler/schemacrawler.sh --help

cadavre commented 4 years ago

I did, but one would except image's main binary to be available in PATH.