Giter Club home page Giter Club logo

Comments (12)

joebowbeer avatar joebowbeer commented on August 18, 2024 1

@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.

ThomasK33 avatar ThomasK33 commented on August 18, 2024

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.

ThomasK33 avatar ThomasK33 commented on August 18, 2024

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.

ThomasK33 avatar ThomasK33 commented on August 18, 2024

Hey @codeagencybe, could you please try the 0.16.0 release and set your docker aliases in a .bashrc file?

from devpod.

ThomasK33 avatar ThomasK33 commented on August 18, 2024

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.

codingbutstillalive avatar codingbutstillalive commented on August 18, 2024

Does it work with Rancher Desktop at all? I think by default it is using the normal docker deamon, doesn't it?

from devpod.

codeagencybe avatar codeagencybe commented on August 18, 2024

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.

codingbutstillalive avatar codingbutstillalive commented on August 18, 2024

from devpod.

joebowbeer avatar joebowbeer commented on August 18, 2024

Fixed?

from devpod.

chawyehsu avatar chawyehsu commented on August 18, 2024

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.

FabianKramm avatar FabianKramm commented on August 18, 2024

@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.

pascalbreuninger avatar pascalbreuninger commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.