postgres-ai/postgres-checkup

Documentation volumes

yerrysherry opened this issue · 0 comments

Following command gives no output in the artifacts folder

docker run --rm
--name postgres-checkup
--volume "$(pwd)/artifacts:/artifacts"
--volume "$(echo ~)/.ssh/id_rsa:/root/.ssh/id_rsa:ro"
postgresai/postgres-checkup:latest
./checkup
--hostname sshusername@hostname
--username my_postgres_user
--dbname my_postgres_database
--project docker_test_with_ssh
--epoch "$(date +'%Y%m%d')001"

After I change:

--volume "$(pwd)/artifacts:/artifacts" \

into:

--volume "$(pwd)/artifacts:/checkup/artifacts" \

it works.