-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]build image faild:Untar re-exec error: exit status 1: output: operation not supported #22192
Comments
i found a solution for the above problem, when i mount the ubuntu15.04 qcow2 image file on a directory, if i directly build with the above Dockerfile under the mounted directory, it failed with the above error, if i remove the bin directory, it will succeed. |
i don't know if it is a bug or something, does anybody knows that? |
Is there a specific reason you're trying to build for own Ubuntu image, instead of using the official |
@thaJeztah yes, i just want to keep the docker image directories as the same as the ubuntu image. I will check the procedures of creating a official image, thank you. |
@vklonghml I really recommend using the official images instead of trying to build your own Ubuntu base image. The official images are always kept up to date, so you don't have to maintain them yourself (but be aware that Ubuntu 15.04 is EOL, and will not get any updates from Ubuntu). So simply
Also note that if you use a If you're looking for a simple example to build an SSH image, have a look here; https://docs.docker.com/engine/examples/running_ssh_service/ |
@thaJeztah ok, thanks a lot. |
Output of
docker version
:Output of
docker info
:Steps to reproduce the issue:
i want to build an ubuntu image(download from ubuntu website, version=15.04.img), using scratch method,
1.the content of Dockerfile is below:
2.execute command:
docker build -t ubuntu-15.04.0203 .
3.then failed
Describe the results you received:
Additional information you deem important (e.g. issue happens only occasionally):
this problem like #14792, but not the same, he solved his problem by updating the docker version, however, my docker version is up to date. Beside, i can succeed finish the above procedure when i use ubuntu-14.04.img, does anybody know how to fix this problem, thanks.
@thaJeztah, @arthurlogilab
The text was updated successfully, but these errors were encountered: