From: Stefano Brivio <sbrivio@redhat.com>
To: Ayon T <sanroz.mozan13@gmail.com>
Cc: passt-user@passt.top
Subject: Re: Help with pasta usage
Date: Tue, 3 Jun 2025 12:46:16 +0200 [thread overview]
Message-ID: <20250603124616.0ff93936@elisabeth> (raw)
In-Reply-To: <CAD77DGFRp91f__W2+MoytOU7nkjEPX7PNJQZ=8TuV35e+wCpHQ@mail.gmail.com>
On Fri, 23 May 2025 00:51:25 -0230
Ayon T <sanroz.mozan13@gmail.com> wrote:
> I know you have been asking me to run pasta with arguments with docker, but
> I'm not sure how to do this (pardon my inexperience). I use an
> override.conf file to set the default network and port driver of docker,
> and that's how I use pasta with docker. I have tried looking up how to do
> it in a different way that gives me more control over the arguments that go
> in, but I haven't been able to find it. Could you guide me regarding this
> or point me to a resource?
Apologies for the delay. It looks like you need to rebuild rootlesskit
with any option you want to add, here:
https://github.com/rootless-containers/rootlesskit/blob/e83d7635183e1125798b2928b22002dfcc4a1168/pkg/network/pasta/pasta.go#L146
because there's currently no convenient command-line mechanism like the
one implemented by Podman, here:
https://github.com/containers/common/blob/5a4ca2d5d35571556f6e7d1d5f024c19dc482135/libnetwork/pasta/pasta_linux.go#L174
I guess it would be nice to implement something similar, but I'm not
really familiar with rootlesskit otherwise. An alternative could be to
use a trivial wrapper at /usr/local/bin/pasta, a simple script doing:
--
#!/bin/sh
/usr/bin/pasta $@ --whatever-additional-option-here
--
--
Stefano
prev parent reply other threads:[~2025-06-03 10:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAD77DGHbW+xrLB5VJq24eRF-EJ+LtrAm+9twJQnOoX7J0e=-XQ@mail.gmail.com>
2025-05-12 14:05 ` Help with pasta usage Stefano Brivio
[not found] ` <CAD77DGGAsxL9O0oHwmRoW2QuDCYLdWmmXcCZ+FMoVKwKJjTEfQ@mail.gmail.com>
2025-05-12 14:59 ` Stefano Brivio
[not found] ` <CAD77DGGaRw=1hs+vWgNYhPbmYEHvifvHaK1T=hMNg0BO6y4qBQ@mail.gmail.com>
2025-05-20 15:56 ` Stefano Brivio
[not found] ` <CAD77DGFRp91f__W2+MoytOU7nkjEPX7PNJQZ=8TuV35e+wCpHQ@mail.gmail.com>
2025-06-03 10:46 ` Stefano Brivio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250603124616.0ff93936@elisabeth \
--to=sbrivio@redhat.com \
--cc=passt-user@passt.top \
--cc=sanroz.mozan13@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).