microsoft / microsoft/sql-server-samples

Parsing error for attach_dbs environment variable

Open
#159 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Description

Hello,

When I use the -e attach_dbs="my json string" I get:
C:\Program Files\Docker\docker.exe: Error parsing reference: "–e" is not a valid repository/tag: invalid reference format.
See 'C:\Program Files\Docker\docker.exe run --help'.

It seems that docker isn't understanding the "my json string" as a string and therefore -e isn't recognized as environment variable.
I tried single quotes with same result.

Any ideas?
Thank you in advance

Santos

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported Windows Docker command using the attach_dbs environment variable, then inspect the repository's Docker samples and references for that variable. Done means the supported syntax or required change is identified and verified against the reported parsing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
databases, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.