Build container Image azure-pipeline selfhosted agent as kubernetes pod

Copper Contributor

Hi to all,

I have a selfhosted azure-pipeline agent, this agent running as a pod in azure kubernetes engine, on this I have installed buildah to build docker image but receive this error:

 

buildah bud .
ERRO [graphdriver] prior storage driver aufs failed: mount /var/lib/containers/storage/aufs:/var/lib/containers/storage/aufs, flags: 0x1000: permission denied
mount /var/lib/containers/storage/aufs:/var/lib/containers/storage/aufs, flags: 0x1000: permission denied
ERRO [graphdriver] prior storage driver aufs failed: mount /var/lib/containers/storage/aufs:/var/lib/containers/storage/aufs, flags: 0x1000: permission denied
WARN failed to shutdown storage: "mount /var/lib/containers/storage/aufs:/var/lib/containers/storage/aufs, flags: 0x1000: permission denied"
ERRO exit status 125

 

someone know how to solve this error?

 

 

0 Replies