Closed nikvdp closed 6 years ago
Yeah, thanks for the issue. I'll make it nicer and then close the issue.
Here is a potential fix https://github.com/ihucos/plash/pull/52
It is still kind of long, what do you think?
$ echo 'plash reference' | plash run --from ubuntu --apt figlet -- figlet
plash: fetching 100%
plash: extracting...
plash error: newuidmap/newgidmap not found in PATH, please install it (package typically called `uidmap` or `shadow-utils`)
plash error: plash.macros.froms: from: Command '['plash', 'import-lxc', 'ubuntu']' returned non-zero exit status 1. (CalledProcessError)
It's two error messages because actually the --from
build command is responsible to ensure the ubuntu image is there... by invoking plash.
I also added a note to the homepage.
merged
packages
unionfs-fuse
anduidmap
are not installed by default on ubuntu, but are required forplash
to run. The error message forunionfs-fuse
was fairly self explanatory, but my first run experience (following the tutorial at plash.io) went as follows:which was quite cryptic, and it took some googling to figure out that
apt-get install -y uidmap
was the solution. Consider including this in the docs so newcomers can get started withplash
with less friction.