Comments (15)
Hmm, the only thing xpipe does to verify whether docker is available is to run docker --help
and check the exit code. Maybe something when wrong there? You can try go to Settings -> Troubleshoot -> Launch in debug mode and see exactly what is getting executed and returned.
from xpipe.
Maybe it's not getting a proper shell first? I'm not sure. Details below.
17:06:48:080 - trace: [proc] Starting command execution ... {
baseCommand=docker --help
shellType=sh
elevated=false
workingDirectory=null
}
17:06:48:083 - trace: [proc] Writing line {
line=echo 'a03b53cf-e4c1-44a2-b39b-0ad2f37d9727';echo '7a0f426d-088b-4d8e-9b7c-c2a3b75af24a' 1>&2;docker --help;echo '85431907-e403-4048-a01f-21744706e609'${?}END;echo '0dfd651f-6b20-42a6-93d3-a87802b89765' 1>&2
}
17:06:48:105 - trace: [proc] Stdout finished. Reading exit code ...
17:06:48:105 - trace: [proc] Read: 127END
17:06:48:105 - debug: [proc] Command finished {
command=docker --help
finishReason=NORMAL_FINISH
exitCode=127
}
17:06:48:106 - trace: [proc] Read stdout {
output=
}
17:06:48:107 - trace: [proc] Stderr finished {
finishReason=NORMAL_FINISH
}
17:06:48:108 - trace: [proc] Command state switched to finished
17:06:48:109 - trace: [proc] Read stderr {
output=-sh: line 19: docker: command not found
}
from xpipe.
What is the login shell of your system? Ideally you should connect to that shell type to get all the shell profiles executed
from xpipe.
/bin/sh
, but /usr/bin/zsh
is also available.
from xpipe.
Are all the profile files sourced properly when you manually startup a login shell with sh -l
?
from xpipe.
For better reproduction, you can try manually connecting with ssh -T user@host
because that is what xpipe does internally. The exact command used to connect should also be found somewhere in the debug output
from xpipe.
It looks like ssh -T
gets me to busybox, not a proper shell.
from xpipe.
hmm, any idea why? I don't have QNAP setup to test that. Essentially, xpipe she's the same thing as when you manually open with ssh -T
. If you somehow managed to make it start a proper shell, it should work.
from xpipe.
That's the funny thing. It detects zsh properly and tapping on it will drop me into a zsh shell (but SHELL=/bin/sh
still).
from xpipe.
Aha - if I manually set the PATH
variable in the init script for one of the shells, it finds docker.
from xpipe.
Interesting. Honestly these busybox setups are usually not designed for having extensive profile scripts that cover all situations, so I can see why there are some problems like that. If you somehow get it running without explicitly specifying the path, feel free to share.
from xpipe.
Setting the PATH
is a decent enough solution for me 🤷🏻♂️
from xpipe.
So I played around a bit with better PATH initialization (hopefully). You can try whether the latest version of https://github.com/xpipe-io/xpipe-ptb work for you without explicitly setting the path
from xpipe.
Related Issues (20)
- K8S - cannot list resource "nodes" in API group "" at the cluster scope HOT 7
- Allow for moving of storage directory with its contents
- Malwarebytes performance issues
- How to change ssh client to e.g. tabby under windows 11 to get rid of the "too open keyfiles" HOT 6
- XPipe Public Test Builds
- Support of import in .ssh/config file. HOT 7
- Appearance setting plan to have compact or condensed mode HOT 5
- Feature Request: Settings Synchronization Function HOT 2
- Support SSH Jump as gateway? HOT 5
- Specify required dependencies for Linux packages HOT 1
- XPipe creates new windows instead of tabs HOT 11
- [Feature Request] Disable probing for Root/Sudo HOT 3
- How do I add a dumb terminal launcher HOT 9
- Clone connection requires 2 edits to successfully clone. HOT 2
- Shell opener fails on Trusnas core (FreeBSD) (sh) HOT 11
- Received the following error while importing a Remote Host HOT 5
- cannot use Hyper as terminal HOT 3
- file upload bug HOT 1
- file manager improvement HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpipe.