You are not logged in.

#1 2020-01-20 20:28:26

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 174

[SOLVED] buildah fails with permissions error

I was looking forward to play around with buildah but it seems the setup is more difficult than I thought.

I get this error when running

buildah from archlinux
buildah run archlinux-working-container bash 
ERRO[0000] container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:109: jailing process inside rootfs caused \\\"permission denied\\\"\"" container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:109: jailing process inside rootfs caused \\\"permission denied\\\"\"" error running container: error creating container for [/usr/sbin/bash]: : exit status 1

I followed (and corrected a bit) the article here: https://wiki.archlinux.org/index.php/Buildah
I added a discussion page with some questions to the author: https://wiki.archlinux.org/index.php/Talk:Buildah
I reckon some extra steps listed here are required (mainly adding PAM module): https://wiki.archlinux.org/index.php/Li … (optional)

Last edited by Gregosky (2020-01-23 06:30:54)

Offline

#2 2020-01-23 06:30:40

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 174

Re: [SOLVED] buildah fails with permissions error

Problem solved. Human error - I had wrong permissions on `/`.

Offline

Board footer

Powered by FluxBB