Open d-m opened 2 months ago
Please run podman machine ssh
and check the server log with something like journalctl -u podman.service
and see an error is logged there when you run the docker command
Here are the logs:
Sep 06 13:21:32 localhost.localdomain podman[1262]: 2024-09-06 13:21:32.455900512 -0400 EDT m=+190.791991175 volume create ab0ca3f3a6ed91dbe03ee7e4127cebfd89fa6058cd35be6f22d2f3096be76eb9
Sep 06 13:21:32 localhost.localdomain podman[1262]: 2024-09-06 13:21:32.457141111 -0400 EDT m=+190.793231816 volume create 74a9ec663cc2fc537241531cfb9b2ddfad70651f89e401a9bf44bc95355915b1
Sep 06 13:21:32 localhost.localdomain podman[1262]: 2024-09-06 13:21:32.45833846 -0400 EDT m=+190.794429164 container create 83ad206abf3454e30f16ca729a1ea01bb377d19a21ec40c307ac78f70f00ecbc (image=ubuntu:latest, name=practical_hawking)
Sep 06 13:21:32 localhost.localdomain podman[1262]: @ - - [06/Sep/2024:13:21:32 -0400] "POST /v1.41/containers/create HTTP/1.1" 201 88 "" "Docker-Client/27.1.1-rd (darwin)"
Sep 06 13:21:32 localhost.localdomain podman[2278]: [INFO netavark::firewall] Using iptables firewall driver
Sep 06 13:21:32 localhost.localdomain podman[2278]: [INFO netavark::network::netlink] Adding route (dest: 0.0.0.0/0 ,gw: 10.88.0.1, metric 100)
Sep 06 13:21:32 localhost.localdomain podman[1262]: time="2024-09-06T13:21:32-04:00" level=info msg="Running conmon under slice machine.slice and unitName libpod-conmon-83ad206abf3454e30f16ca729a1ea01bb377d19a21ec40c307ac78f70f00ecbc.scope"
Sep 06 13:21:32 localhost.localdomain podman[1262]: time="2024-09-06T13:21:32-04:00" level=info msg="Request Failed(Conflict): preparing container 83ad206abf3454e30f16ca729a1ea01bb377d19a21ec40c307ac78f70f00ecbc for attach: crun: open executable: Operation not permitted: OCI permission denied"
Sep 06 13:21:32 localhost.localdomain podman[1262]: @ - - [06/Sep/2024:13:21:32 -0400] "POST /v1.41/containers/83ad206abf3454e30f16ca729a1ea01bb377d19a21ec40c307ac78f70f00ecbc/attach?stderr=1&stdin=1&stdout=1&stream=1 HTTP/1.1" 409 228 "" "Docker-Client/27.1.1-rd (darwin)"
crun: open executable: Operation not permitted: OCI permission denied
This sounds like your image executable cannot be executed for some reason. Does this happen with all images?
Issue Description
docker run
commands result in an "unable to upgrade to tcp, received 409" error.podman run
commands work fine.podman info:
podman version
Steps to reproduce the issue
Steps to reproduce the issue
docker run -it ubuntu -- bash
Describe the results you received
Describe the results you expected
I expected the container to run.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
Additional information
No response