Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

'error extracting tarball' with Ubuntu docker image #277

@alicebob

Description

@alicebob

Hello,

I'm trying to build an image on the docker Ubuntu image, but it only works when acbuild is run as root.

$ acbuild --debug begin docker://ubuntu:latest
Beginning build with docker://ubuntu:latest
Downloading sha256:9332eaf1a55 [=============================]     162 B / 162 B
Downloading sha256:af49a5ceb2a [=============================] 50.1 MB / 50.1 MB
Downloading sha256:8f9757b472e [=============================]     824 B / 824 B
Downloading sha256:e931b117db3 [=============================]     518 B / 518 B
Downloading sha256:a3ed95caeb0 [=============================]       32 B / 32 B
Downloading sha256:47b5e16c081 [=============================]     682 B / 682 B
begin: error extracting tarball
$

As root it's all fine:

# acbuild --debug begin docker://ubuntu:latest 
Beginning build with docker://ubuntu:latest
Downloading sha256:af49a5ceb2a [=============================] 50.1 MB / 50.1 MB
Downloading sha256:e931b117db3 [=============================]     518 B / 518 B
Downloading sha256:47b5e16c081 [=============================]     682 B / 682 B
Downloading sha256:8f9757b472e [=============================]     824 B / 824 B
Downloading sha256:9332eaf1a55 [=============================]     162 B / 162 B
Downloading sha256:a3ed95caeb0 [=============================]       32 B / 32 B
# 

Going via docker2aci gives the same problem. acbuild I installed via go get a few days ago. Of course I can just run things as root (not great, but fine), but the error message could be improved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions