Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Documentation volumes #156

Open
yerrysherry opened this issue Mar 22, 2021 · 0 comments
Open

Documentation volumes #156

yerrysherry opened this issue Mar 22, 2021 · 0 comments

Comments

@yerrysherry
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant