JP Mens on Nostr: Do any of you have a working example of `podman-run --env J=bla' (the env bit is the ...
Do any of you have a working example of `podman-run --env J=bla' (the env bit is the important one) which passes the environment into a container which has a
CMD ["/usr/sbin/init"]
entry point?
I can't for the life of me get that variable (J) into the container unless I execute env(1) or bash(1).
Published at
2024-03-31 16:24:26Event JSON
{
"id": "ba2c96b9b8b98995244272e54cc31f08a0256aecbd6bd36825e6fd5211533b1b",
"pubkey": "4421e6f8f57df36e663f1a4568344196e61ea62eb94203c9c02d83bcb3eb9c66",
"created_at": 1711902266,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/jpmens/statuses/112191226958847751",
"activitypub"
]
],
"content": "Do any of you have a working example of `podman-run --env J=bla' (the env bit is the important one) which passes the environment into a container which has a \n\nCMD [\"/usr/sbin/init\"]\n\nentry point? \n\nI can't for the life of me get that variable (J) into the container unless I execute env(1) or bash(1).",
"sig": "c07ca075c574ab07dcc6eacc969b33501a2d5848d853be0f0b1c1c075a877b378974488d1f3cc8c092e26e211baf37e83b9c5c4690ded854768024688f30599b"
}