Demo: Rootless Podman + MariaDB + socket activation #13167
eriksjolund
started this conversation in
General
Replies: 2 comments 3 replies
-
Interested in recording it and publishing it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I could make a tweet. I'll just polish the text content somewhat first. Another thing, I tested some more and it seems --security-opt label=disable is needed for UNIX sockets but not for TCP sockets. Is that result according to expectations? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a small demo about running MariaDB with rootless Podman and socket activation
https://github.com/eriksjolund/mariadb-podman-socket-activation
I tested adding --network none for both TCP and UNIX sockets
and it still worked to connect with the MariaDB client from the host.
Templated systemd user services work really well with UNIX sockets because you can
"auto-generate" a new path for a UNIX socket with the configuration
(
%h
expands to the home directory path.%i
expands to the instance name)When using TCP sockets, I guess you need to provide one systemd override configuration file
per instance, to be able to give each instance its own TCP port number.
Beta Was this translation helpful? Give feedback.
All reactions