Failed to use CliWrap to run a docker command #246
Unanswered
citystrawman
asked this question in
Q&A
Replies: 1 comment 10 replies
-
99% chance it's the same issue as here: #190 |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to use CliWrap to run a docker command. Actually it is a docker wrapper named fmriprep-docker(it is based upon fmri-prep, and fmriprep-docker is a Python script that operates the Docker Engine seamlessly, see this ), when I execute it on powershell, it could run:
![企业微信截图_17185160625904](https://private-user-images.githubusercontent.com/9004748/340066928-e16dbfb1-84e5-481c-a98c-793b6b2d4e7a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MDYzNDUsIm5iZiI6MTcyMTUwNjA0NSwicGF0aCI6Ii85MDA0NzQ4LzM0MDA2NjkyOC1lMTZkYmZiMS04NGU1LTQ4MWMtYTk4Yy03OTNiNmIyZDRlN2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjBUMjAwNzI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWM2OWUzMzFhNDg4ZWJhNGYwZjlmZTNjMGY0OWJlOTg1YThkMWUyMGU5YmJkOWU4N2JjNDk2NGYwMmUwMmQyZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.e_VtAxV3_Z18U7QY19QCu9fPZ9Rc2cNhCpqT1Atc7-Q)
(the errors are because it requires some parameters, I do not use parameters for simplicity, but you can see it is able to run)
Then, I tried to implement it by CliWrap:
Howerver, when I run this code, it throws errors as follows:
![企业微信截图_17185164687426](https://private-user-images.githubusercontent.com/9004748/340067171-090281c5-6c9d-4a39-a5ca-4b0b8032ba90.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1MDYzNDUsIm5iZiI6MTcyMTUwNjA0NSwicGF0aCI6Ii85MDA0NzQ4LzM0MDA2NzE3MS0wOTAyODFjNS02YzlkLTRhMzktYTVjYS00YjBiODAzMmJhOTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjBUMjAwNzI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmY5ZjVmYWZlOTVkYmMzNTdlYTUyY2JjMTI0ZmU4OWNkMzAyNGFmMjFhZTAxNTZlMDkyMGE5Y2YzZDYyOTQ5OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.r7pm9ABkAW1DWpR5L-0fEZ3I6a84FPweeb6H0_SnkcE)
I searched docker though the discussion panel and I found one says that it may be related to TTY, but I am not quite clear from that post. I appreciate if anyone could help me solve this issue. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions