postgres-checkup icon indicating copy to clipboard operation
postgres-checkup copied to clipboard

Documentation volumes

Open yerrysherry opened this issue 4 years ago • 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.

yerrysherry avatar Mar 22 '21 17:03 yerrysherry