docs/installation.md: Add dependencies for building on Debian #363
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR:
gcc
: formake
for conmon and podmanpasst
: forcould not find pasta
error (Fixes There is no mention of "pasta" on the install page, only "slirp4netns" #285)crun
->runc
: for error running container unknown version specified error in DebianDetails
Problem:
cc
/gcc
not found for conmon and podmanconmon
podman
Solution: install gcc (doc updated)
conmon compiles
podman compiles
(screenshot huge omitted)
Problem:
crun unknown version specified
error in DebianWhen building an image with
podman
, I ran into an error on a basicapt
update/upgrade/install step witherror running container: from /usr/bin/crun creating container....unknown version specified
. In googling the error, I ran into the very similar issue [containers/crun#1485] indicating it might be resolved in a newer version of crun. I was already on the latest available for Debian 12, without building from source, so I decided to tryrunc
instead, since this is explicitly listed as supported in thepodman
docs. The docs explicitly call outcrun
taking precedence overrunc
if both are installed, so I understand if this isn't a desired change since it might appear to go against defaults, and I'm willing to revert it if there is strong opinions on it.Solution: switch to
runc
(doc updated)The documentation explicitly points out that either should be fine... so runc?
Problem: could not find pasta
Solution: install passt (doc updated)
$ sudo apt-get install -y passt $ podman run --env ENVVAR localhost/hdub-tech/podmanio test Test completed successfully