Last active
December 6, 2021 04:28
-
-
Save icasdri/2705c802912d8e9c447da21cdeb94560 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# note: current working directory ($PWD) assumed to be directory containing a static podman installation | |
# replace all occurrences of /path/to/static/podman with actual value of $PWD | |
cp storage.conf "$HOME/.config/containers/storage.conf" | |
PATH="$PWD/usr/local/bin:$PATH" ./usr/local/bin/podman \ | |
--conmon "$PWD/usr/local/lib/podman/conmon" \ | |
--runtime runc \ | |
run \ | |
--signature-policy policy.json \ | |
--network=host \ | |
-it \ | |
docker.io/library/hello-world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"default": [ | |
{ | |
"type": "insecureAcceptAnything" | |
} | |
], | |
"transports": | |
{ | |
"docker-daemon": | |
{ | |
"": [{"type":"insecureAcceptAnything"}] | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[storage] | |
driver = "overlay" | |
[storage.options.overlay] | |
mount_program = "/path/to/static/podman/usr/local/bin/fuse-overlayfs" | |
ignore_chown_errors = "true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment