Giter Club home page Giter Club logo

Comments (5)

ashley-cui avatar ashley-cui commented on September 26, 2024

Does the pipeline user have permissions to use WSL?

from podman.

jailohani avatar jailohani commented on September 26, 2024

Yes, when we login as the same user, both WSL and podman commands work.
Could there be an issue in the commands being run as a background service?

from podman.

pik-256 avatar pik-256 commented on September 26, 2024

Same here. Cannot autostart podman at boot:
Error: fork/exec C:\Users\user\AppData\Local\Microsoft\WindowsApps\wsl.exe: The file cannot be accessed by the system.
It runs correctly in normal session but cannot run when started via TaskScheduler or as a service. I tried to start it with nssm.exe as adviced to autorun a docker. When I run two commands:

wsl --exec whoami >log
podman machine start >>log

then I can see that wsl runs correctly (output: user.) but "podman machine start" fails.
WSL version: WSL: 2.2.4.0
Windows Server 2022

from podman.

frontmatec-rws avatar frontmatec-rws commented on September 26, 2024

i have the sane issue

from podman.

NappySprout avatar NappySprout commented on September 26, 2024

I face the same issue trying to run podman machine init using ansible, I also received an error like this
Error: fork/exec C:\Users\myuser\AppData\Local\Microsoft\WindowsApps\wsl.exe: The file cannot be accessed by the system

However the path doesn't exist on the remote windows instance when I rdp into it and check.

The weird thing is RDPing into the machine and running podman machine init manually does not throw an error :P

from podman.

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.