You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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"
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>}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.