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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjM2NDgsIm5iZiI6MTczOTI2MzM0OCwicGF0aCI6Ii85MDA0NzQ4LzM0MDA2NjkyOC1lMTZkYmZiMS04NGU1LTQ4MWMtYTk4Yy03OTNiNmIyZDRlN2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDg0MjI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDNiMjY2NTM0Yjg1YzY2ZjA2OTUzN2FkNWZjOWZkY2ZjNDVjN2RlNmMyOWVkMmRjNGRkODEyNDQ4ZGExMTJkMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.X3rfE1imuhbUP7dhw0Tedsb2c3ZNrRewcmNLhfAxa8Q)
(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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNjM2NDgsIm5iZiI6MTczOTI2MzM0OCwicGF0aCI6Ii85MDA0NzQ4LzM0MDA2NzE3MS0wOTAyODFjNS02YzlkLTRhMzktYTVjYS00YjBiODAzMmJhOTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMDg0MjI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGIwM2U5NGNiNDEwNzkzY2E0Njc1MDc0NjM4NGU5ZWU2YzVkYWQwZWE1NGRjYTA2OTRmMzc4ZDIyMjEzYWE3ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.sx-O5qur6D24JtCMKmPjqliS5hY8XmlNU6HOUhd-0K4)
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