I am trying to create a file from the output of
jq command over ssh command.
ssh <server-Name> "jq '.credsStore = "ecr-login"' ~/.docker/config.json > ~/.docker/output.json "
It gives me following error:
bash: .docker/output.json: No such file or directory
Am I not running the command properly or is there any other problem?