Comments (8)
hi, what does mean " set its connection to default"
what is the command you're executing
By default a machine contains both rootless and rootful socket and one is exposed to the socket on the host, and CLI is using system connection
so toggling system connection to rootless or rootful is possible.
But here I don't know what you did in the steps
from podman-desktop.
@benoitf It should be the dialog that appears in the UI when you are starting the machine that is different from the one that had the connection set (either rootful or rootless) to default.
from podman-desktop.
@xbabalov @benoitf So, I would like to colaborate a bit on a reproducer:
- Create a podman machine (with default values) and let it start
- Assert: Machine is started, the socket connection used is correct:
podman system connection ls
show defaulttrue
forpodman-machine-default-root
connection - Stop the machine
- Create new machine called
rootful
, also keep all values default (rootful, start now) - Assert: Machine is created
- User is offered a dialog to switch the defautl connection to the
rootful
machine which was jsut created - accept and confirm - Assert:
podman system connection ls
shows that defaulttrue
value is atrootful-root
connection
Actual: Defaulttrue
value is atrootful
connection -> which is rootless.
from podman-desktop.
Problem might be the change between podman 4.x and 5.x in the content of the Machine config Json:
podman-desktop/extensions/podman/src/extension.ts
Lines 405 to 414 in db8c457
machineConfig.Rootful is undefined with podman v5.
This is new json content:
{
"Created":"2024-04-30T12:57:55.2389544+02:00",
"GvProxy":{
"Debug":false,
"MTU":0,
"LogFile":"",
"PidFile":"",
"SSHPort":0
},
"HostUser":{
"Rootful":true,
"UID":1000,
"HostUserModified":false
},
"LastUp":"2024-04-30T12:59:58.8456202+02:00",
"Mounts":null,
"Name":"podman-machine-default",
"Resources":{
"CPUs":2,
"DiskSize":100,
"Memory":2048,
"USBs":[
]
},
"SSH":{
"IdentityPath":"C:\\Users\\podmanqe\\.local\\share\\containers\\podman\\machine\\machine",
"Port":64572,
"RemoteUsername":"user"
},
"Version":1,
"ImagePath":{
"Path":"C:\\Users\\podmanqe\\.local\\share\\containers\\podman\\machine\\wsl\\podman-machine-default-amd64"
},
"WSLHypervisor":{
"UserModeNetworking":false
},
"Starting":false
}
from podman-desktop.
AFAIK this issue was existing in all previous releases
from podman-desktop.
yes.
from podman-desktop.
but yes probably related to podman v4 -> v5
from podman-desktop.
PR opened #7024
from podman-desktop.
Related Issues (20)
- Podman-Desktop without Machine Config
- Support ARG / passing in arguments for image building. HOT 3
- Sections disappear when pressing "- / remove" in Create Container HOT 2
- Auto-detect ARG in Containerfile and pre-fill build page
- Manifest basic "details" page
- Permission denied when trying to run Podman Desktop on Ubuntu 24.04 HOT 4
- bug(ui): Button component cannot have spinner if icon is undefined HOT 5
- simplify ApplicationManager HOT 1
- Install Podman v5 for our e2e tests on our workflows using Ubuntu 24.04 runner
- adding toast when tasks are created HOT 4
- Manifests "more in depth" details page.
- Add a section about using brew to upgrade PD on MacOS HOT 1
- Podman v5 issues a warning about a deprecated parameter
- after locking the Windows screen it takes 10 minutes to unlock with Podman installed. HOT 12
- Improve error reporting in containers e2e test HOT 1
- Remove tinro dependency from SettingsNavItem
- Be able to set a custom theme for Podman Desktop HOT 3
- Release v1.10.3 HOT 1
- Icon for Manifests HOT 10
- Spike at integrating libkrun
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 podman-desktop.