This requires an actual image to be available (e.g., `alpine`) downloading it if not present.
podman run --rm -it --privileged --volume /:/mnt alpine chroot /mnt /bin/sh
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- shell
This requires an actual image to be available (e.g., `alpine`) downloading it if not present.
podman run --rm -it --privileged --volume /:/mnt alpine chroot /mnt /bin/sh
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- unprivileged
- Native
- shell