-
How to convert
to podman run? Especially the last two line |
Beta Was this translation helpful? Give feedback.
Answered by
rhatdan
Nov 19, 2024
Replies: 1 comment 2 replies
-
The last two lines should be handed to ghcr.io/sagernet/sing-box so this should just work. What error are you seeing? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not unless /etc/sing-box exists on your host system. Podman does not automatically create files/directories like Docker does. We consider this a potential security risk.
sudo mkdir /etc/sing-box
sudo podman create -it --name singbox --restart=unless-stopped --label io.containers.autoupdate=image --network=host --volume /etc/sing-box:/etc/sing-box:z ghcr.io/sagernet/sing-box:latest -D /var/lib/sing-box -C /etc/sing-box/ run
Should work.