You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
john@machine:/home/john $ ls -al $XDG_RUNTIME_DIR
total 0
drwx------ 2 john john 40 Feb 19 10:09 .
drwxr-xr-x 3 root root 60 Feb 19 10:08 ..
john@machine:/home/john $ echo $XDG_RUNTIME_DIR
/run/user/1000/
john@machine:/home/john $ podman run hello-world
WARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containers
ERRO[0002] Refreshing container 3d656c3844fb9867c455b79e554a3071a05368ff8fbbc5b521abcd76f5ea9b36: acquiring lock 0 for container 3d656c3844fb9867c455b79e554a3071a05368ff8fbbc5b521abcd76f5ea9b36: file exists
ERRO[0003] Refreshing container 95cf9d0ad24ff75c9703c371b6e7c58828f221444ca229de3957d18bc625a73b: acquiring lock 0 for container 95cf9d0ad24ff75c9703c371b6e7c58828f221444ca229de3957d18bc625a73b: file exists
ERRO[0003] Refreshing volume f5ea39e608f41b2473ce9691cfa726f62d30826f278a82d7b3555e94ef4605bd: acquiring lock 1 for volume f5ea39e608f41b2473ce9691cfa726f62d30826f278a82d7b3555e94ef4605bd: file exists
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
john@machine:/home/john $ echo $XDG_RUNTIME_DIR
/run/user/1000/
john@machine:/home/john $ ls -al $XDG_RUNTIME_DIR
ls: cannot access '/run/user/1000/': No such file or directory
Describe the results you received
XDG_RUNTIME_DIR is deleted
Describe the results you expected
Describe the results you expected
podman info output
WARN[0000] Failed to get rootless runtime dir for DefaultAPIAddress: lstat /run/user/1000: no such file or directoryWARN[0000] "/" is not a shared mount, this could cause issues or missing mounts with rootless containersWARN[0000] Failed to get rootless runtime dir for DefaultAPIAddress: lstat /run/user/1000: no such file or directoryhost:
arch: amd64buildahVersion: 1.33.7cgroupControllers: []cgroupManager: cgroupfscgroupVersion: v1conmon:
package: conmon_2.1.10+ds1-1build2_amd64path: /usr/bin/conmonversion: 'conmon version 2.1.10, commit: unknown'cpuUtilization:
idlePercent: 99.78systemPercent: 0.1userPercent: 0.12cpus: 16databaseBackend: boltdbdistribution:
codename: nobledistribution: ubuntuversion: "24.04"eventLogger: filefreeLocks: 2048hostname: 049171BG01idMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536uidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536kernel: 5.15.167.4-microsoft-standard-WSL2linkmode: dynamiclogDriver: journaldmemFree: 11283013632memTotal: 12545507328networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns_1.6.0-0ubuntu22.04+obs34.25_amd64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.6.0package: netavark_1.4.0-4_amd64path: /usr/lib/podman/netavarkversion: netavark 1.4.0ociRuntime:
name: crunpackage: crun_101:1.14.4-0ubuntu22.04+obs70.22_amd64path: /usr/bin/crunversion: |- crun version 1.14.4 commit: a220ca661ce078f2c37b38c92e66cf66c012d9c1 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt_0.0~git20240220.1e6f92b-1_amd64version: | pasta unknown version Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: falsepath: /run/podman/podman.socksecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: falseslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns_1.2.3-0ubuntu22.04+obs13.26_amd64version: |- slirp4netns version 1.2.3 commit: c22fde291bb35b354e6ca44d13be181c76a0a432 libslirp: 4.7.0 SLIRP_CONFIG_VERSION_MAX: 3 libseccomp: 2.5.5swapFree: 17179869184swapTotal: 17179869184uptime: 0h 5m 27.00svariant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
amdockerhub.citicsinfo.com:
Blocked: falseInsecure: trueLocation: amdockerhub.citicsinfo.comMirrorByDigestOnly: falseMirrors: nullPrefix: amdockerhub.citicsinfo.comPullFromMirror: ""docker.io:
Blocked: falseInsecure: falseLocation: registry-1.docker.ioMirrorByDigestOnly: falseMirrors:
- Insecure: falseLocation: mirror.gcr.ioPullFromMirror: ""Prefix: docker.ioPullFromMirror: ""dockerhub.citicsinfo.com:
Blocked: falseInsecure: trueLocation: dockerhub.citicsinfo.comMirrorByDigestOnly: falseMirrors: nullPrefix: dockerhub.citicsinfo.comPullFromMirror: ""search:
- docker.iostore:
configFile: /home/john/.config/containers/storage.confcontainerStore:
number: 13paused: 0running: 0stopped: 13graphDriverName: overlaygraphOptions: {}graphRoot: /home/john/.local/share/containers/storagegraphRootAllocated: 269427478528graphRootUsed: 237049630720graphStatus:
Backing Filesystem: extfsNative Overlay Diff: "false"Supports d_type: "true"Supports shifting: "true"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 151runRoot: /tmp/podman-run-1000/containerstransientStore: falsevolumePath: /home/john/.local/share/containers/storage/volumesversion:
APIVersion: 4.9.3Built: 0BuiltTime: Thu Jan 1 08:00:00 1970GitCommit: ""GoVersion: go1.22.2Os: linuxOsArch: linux/amd64Version: 4.9.3
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Use podman in WSL2
Additional information
No response
The text was updated successfully, but these errors were encountered:
Issue Description
Podman delete XDG_RUNTIME_DIR folder at first run
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
XDG_RUNTIME_DIR is deleted
Describe the results you expected
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Use podman in WSL2
Additional information
No response
The text was updated successfully, but these errors were encountered: