!SEjxdEhDPWoPxzjWCX:matrix.org

Podman

1170 Members
Podman (https://podman.io) is a tool for running PODS and OCI Containers on Linux. Mailing lists at lists.podman.io. Current version 5.0.0. Bridged with the #podman channel on Podman's Discord(https://discord.gg/x5GzFF6QH4). The bridge with #podman on Libera has been temporarily suspended, but we now have a `Podman Relay` in place.72 Servers

Load older messages


SenderMessageTime
24 May 2024
@podman-relay:fedora.imPodman Relay beelzebob> Yeah, I'm not to quadlets yet :) I don't know that I need to modify the cgroup creation, really, since it all does the desired thing without a user level systemd running. I just need to understand why. But working at the pod level gives me some more knobs to turn. 18:08:02
@_discord_429662407489617920:t2bot.iodomen.g Thank you really much for your answer, your solution this works for me also, but I still don't really get why inside the container ports are not mapped, if you do twice inside the container the seond call will fail because port 8000 is already in use, why does this happen? Outside container this two calls work as expected.
podman run -p 8000:8000 docker.io/crccheck/hello-world
podman run -p 9000:8000 docker.io/crccheck/hello-world
18:20:22
@podman-relay:fedora.imPodman Relay aelius> https://i.imgur.com/njinYEr.png 18:59:19
@podman-relay:fedora.imPodman Relay aelius> This worked briefly but stopped after a reboot. What should I check to troubleshoot? 18:59:59
25 May 2024
@jkwiatko:matrix.orgjkwiatko joined the room.11:27:13
@_discord_318753089245151232:t2bot.ioroguenone joined the room.16:04:29
@sirduke:matrix.org@sirduke:matrix.org left the room.18:46:09
@jakub.gramsz:matrix.orgjakub.gramsz joined the room.20:54:36
@_discord_744969207740891168:t2bot.iomidleman joined the room.22:34:12
26 May 2024
@_discord_1213174512854503494:t2bot.io_madness joined the room.00:13:20
@nellfs:matrix.orgnellfs joined the room.00:56:21
@nellfs:matrix.orgnellfsHello everyone! I'm new to containers and Podman, I would like to know if there is any documentation on how to make my software send commands directly to a Podman container00:59:12
@nellfs:matrix.orgnellfsIn my case I want to connect to the container to show everything that is happening inside it to other software, and I also want to send commands to this container from this software (stdin and tty are enabled)01:03:28
@nellfs:matrix.orgnellfsIt would basically be using a "podman exec", but I don't know if I can do this "natively" via Podman from another software01:05:04
@nellfs:matrix.orgnellfsThis should do the job https://github.com/containers/podman/blob/main/pkg/bindings/README.md02:31:02
@nellfs:matrix.orgnellfs

Update: I managed to connect to the container, but I keep getting some messages related to permission, I need to compile the program first and then run sudo, I wonder if there is a way to make this not necessary... although I am interacting with a container running on my machine so maybe this is necessary

03:35:12
@nellfs:matrix.orgnellfs
 ./program

unable to connect to Podman socket: Get "http://d/v5.0.3/libpod/_ping": dial unix /run/podman/podman.sock: connect: permission denied

with sudo:


sudo ./program

Trying to pull quay.io/libpod/alpine_nginx:latest...
Getting image source signatures
Copying blob sha256:df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139
Copying blob sha256:d2c7362ca710ad35a846a34571a7c3450ea3cce04efcbcb4d3af276eda154ade
Copying blob sha256:71895e83ea49901b7b752bbf3ca19a54148a5f4ab5fdff3dca9bcd59d44c59e3
Copying config sha256:ecea49d99daa5bd62ebaef1338f6bc4c948bf2651b139160404f9c1c48fcd85c
Writing manifest to image destination
03:39:01
@nellfs:matrix.orgnellfs *

Update: I managed to connect with podman, but I keep getting some messages related to permission, I need to compile the program first and then run sudo, I wonder if there is a way to make this not necessary... although I am interacting with a container running on my machine so maybe this is necessary

03:41:52
@nellfs:matrix.orgnellfs *

Update: I managed to connect with podman, but I keep getting some messages related to permission, I need to compile the program first and then run as root, I wonder if there is a way to make this not necessary... although I am interacting with a container running on my machine so maybe this is necessary

03:42:13
@_discord_197998044434792450:t2bot.iovalvix joined the room.10:54:22
@devurandom:matrix.orgDennis changed their display name from Dennis (7616) to Dennis.12:59:49
@nellfs:matrix.orgnellfsI fixed the problem of running the program with sudo14:21:28
@nellfs:matrix.orgnellfs

to connect to the local rootless socket you need to connect to unix:$(XDG_RUNTIME_DIR)/podman/podman.sock

14:22:24
@nellfs:matrix.orgnellfs

I was using the rootful socket URI before (unix:/run/podman/podman.sock)

14:23:20
@nellfs:matrix.orgnellfsTesting with a minecraft bedrock container19:55:09
@nellfs:matrix.orgnellfsDownload testing.webm19:55:28
@nellfs:matrix.orgnellfsmatrix seems to be having problems loading the video, the point is that I managed to do what I wanted with podman19:59:10
@nellfs:matrix.orgnellfspodman my beloved19:59:22
@joern:netding.dejoern nellfs: the video works for me 19:59:23
@quebexer:mozilla.orgquebexer joined the room.21:56:31

There are no newer messages yet.


Back to Room ListRoom Version: 6