Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Workspace runner in docker desktop

Sütő Ádám May 25, 2023

I want to attach a workspace runner into my workspace. I have windows with docker desktop so, i would like to run the runner in docker. Unfortunately the given command:

docker container run -it -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/containers:/var/lib/docker/containers:ro -e ........(continuing)

cannot be runnable in windows power shell, as it gives me back this error:

docker.exe : The command parameter was already specified.
At line:1 char:1
+ docker container run -it -v /tmp:/tmp -v /var/run/docker.sock:/var/ru ...
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], ParameterBindingException
+ FullyQualifiedErrorId : ParameterSpecifiedAlready

 

My docker dektop is running fine, I can run other images perfectly.

Can anybody help what could be this error message?

2 answers

0 votes
Tobias Kasper (TNG)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

Removing the curly braces around the environment variables worked for me.

Example: -e ACCOUNT_UUID=<uuid> instead of -e ACCOUNT_UUID={<uuid>}

Now I run into the next problem, my Account UUID does not get accepted: "The value provided is not a valid uuid"

Tobias Kasper (TNG)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2023

Now its working on Windows.
I need the curly braces and also wrap them in quotes. My variables look like this now: -e ACCOUNT_UUID="{<uuid>}"

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2023

Hi @Sütő Ádám,

The Linux Docker runners have been developed for and tested in Linux environments only.

If you want to use a runner in Windows, you can set up a Windows runner instead.

Please keep in mind that Windows runners do not use Docker, they use PowerShell to run pipeline steps on your Windows machine (host device).

You can find more info here:

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events