Comments (12)
@codingbutstillalive asks:
Does it work with Rancher Desktop at all? I think by default it is using the normal docker deamon, doesn't it?
I expect Rancher Desktop w/dockerd to work because Rancher Desktop works with vscode devcontainers:
rancher-sandbox/rancher-desktop#800
from devpod.
Hey @codeagencybe 👋, thanks for opening this issue.
Currently, the shell commands invoked by devpod run in non-interactive shells; thus, any aliases configured will not be set.
Also, as devpod invokes either a bash
or sh
, depending on availability, you'd have to configure aliases in the respective .bashrc
or .profile
files.
I've opened a PR to start shells as interactive so that those aliases will be used in the future.
For now, you could symlink docker
to nerdctl
in a directory somewhere in your $PATH
.
from devpod.
Quick heads up, since this issue was automatically closed with the PR: DevPod will start interactive shells starting with the next release so that one's aliases will be set and used.
Drop-in replacements and aliases should be possible.
In the future, we'll also look into detecting the user's default shell and execute commands using that in interactive mode, but... that's another issue ^^.
from devpod.
Hey @codeagencybe, could you please try the 0.16.0 release and set your docker aliases in a .bashrc
file?
from devpod.
And we had to revert this PR due to issues with interactive shells and suspensions.
We will have to find another way to source aliases.
from devpod.
Does it work with Rancher Desktop at all? I think by default it is using the normal docker deamon, doesn't it?
from devpod.
I gave up on Rancher Desktop with DevPod, just impossible to get it working.
I reverted to Docker Desktop for the time being but now having other errors happening as mentioned in #355
from devpod.
from devpod.
Fixed?
from devpod.
Purely using nerdctl
as docker command just does not work. --sig-proxy
is not yet implemented in nerdctl
.
Might related containerd/nerdctl#392
[20:52:02] debug Workspace Folder already exists
[20:52:02] debug Using docker command 'nerdctl'
[20:52:06] debug Running docker command: nerdctl run --sig-proxy=false --mount type=bind,source=<redacted...>
trap "exit 0" 15
exec "$@"
while sleep 1 & wait $!; do :; done -
[20:52:06] info 2023/07/12 20:52:06 Error parsing arguments: command "container run" does not support option --sig-proxy=false
[20:52:06] info time="2023-07-12T12:52:06Z" level=fatal msg="unknown flag: --sig-proxy"
...
from devpod.
@chawyehsu yeah since we mostly reused existing devcontainers code for devpod, this causes issues, we could remove this within devpod, but not sure if that would have other sideeffects and fix the problem completely.
from devpod.
DevPod should be compatible with nerdctl and containerd after we merge #1011. We consider this as an experimental feature, use at your own risk 😅
from devpod.
Related Issues (20)
- Better way to support commit signing via SSH for SSH Provider HOT 2
- Start Openvscode with token HOT 2
- Introduce "devpod machine describe" HOT 3
- Automatically install JetBrains IDE plugins listed in devcontainer.json HOT 2
- Git doesn't work with local SSH agent forwarding when postCreateCommand action and after build process HOT 2
- Adding AWS Provider throws fatal error "not found, exit status 127" HOT 3
- --skip-delete does nothing for devpod build HOT 1
- [feature] `devpod self update` HOT 1
- Language Server (Pyright/Ruff-lsp) fails to connect over Emacs TRAMP (SSH) HOT 2
- Permission denied when building devcontainer HOT 12
- Inject GIT "committing" environment variables. HOT 2
- Cannot create devpod container from another container HOT 2
- onCreateCommand: local user not correctly set-up when building devcontainer HOT 2
- I get this error after trying to create a workspace : error Error configuring git credentials: add git credential helper: exit status 255 HOT 2
- Devpod entries in .ssh/config break Include statement HOT 1
- devpod build . always rebuilding when any file has changed HOT 2
- Support for Zed HOT 2
- Neovim TUI will be broken when used inside DevPod container HOT 1
- .DS_Store appears as a workspace in `devpod up`
- Reference local folder for --dotfiles option
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 devpod.