Open D3vil0p3r opened 11 months ago
I have the same issue. I've logged the output of podman machine start
:
Starting machine "podman-machine-default"
podman : T h e f i l e c a n n o t b e a c c e s s e d b y t h e s y s t e m .
At C:\Users\la-fferg\podman.ps1:1 char:1
+ podman machine start 2>&1 > output.txt
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (T h e f i l e... s y s t e m . :String) [], RemoteE
xception
+ FullyQualifiedErrorId : NativeCommandError
T h e f i l e c a n n o t b e a c c e s s e d b y t h e s y s t e m .
Error: the WSL bootstrap script failed: exit status 1
I'm wondering what is the preferred way to autostart podman. Having to manually log in to my Windows Server machine on every restart seems a little bit odd to me..
@n1hility Do you have a idea here?
I’m facing the same problem. What news?
Same issue. I think it has to do with WSL not being accessible by the system process before the user is logged in. I found a solution that worked by simply upgrading WSL to a pre-release:
wsl --update --pre-release
Issue Description
I'm using Windows Server 2022 where I downloaded and installed 4.7.2 version of podman. I need to use Podman CLI instead of Podman Desktop so this executable installer is the right for me.
I need to run podman daemon at startup, so I created a scheduled task by Task Scheduler where I run "podman machine start" but it seems to not start anything when I run the scheduled task.
Steps to reproduce the issue
In particular, I created the scheduled task in the following manner:
After its creation, I pressed on "Run" button in Task Scheduler application, but opening a new terminal and running "podman ps", I get:
so podman daemon seems to not be started.
Describe the results you received
Describe the results you expected
Podman daemon running correctly.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
OS: Windows Server 2022
Additional information
I noticed https://github.com/containers/podman-desktop/pull/510 but I need to run podman daemon without Podman Desktop by a user account that is not logged in.