[FEATURE REQUEST] docker export to tar.gz
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
Start with the docker export command and trace how it currently produces a .tar archive. Determine where an optional .tar.gz output can be added, then verify that exporting a container produces a valid compressed archive without requiring a separate gzip command.
Written by the indexing model from the issue text.
Description
Description
Currently docker export command allows to export a container as .tar.
I use docker mainly for creating WSL images (Linux distros) for Microsoft Store and the process needs to work with a .tar.gz archive that is converted in an Appx package.
Windows has not gzip included by default but only tar command.
To prevent the usage of gzip, there is no way to use only tar command to convert to gzip. It is not possible to first unarchive the tar archive and then compress them to tar.gz by tar command because the containers, if Linux based, have errors due to the structure of a Linux filesystem (that is inside the container).
To prevent this and also to separately install gzip, can you please implement a possibility to also export a container as .tar.gz? It can also allow us to export containers in a compressed and less space-consuming archive.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/cli
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
kind/feature status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
kovidgoyal/kitty#10516 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
cisagov/vulnrichment#337 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100