-
Notifications
You must be signed in to change notification settings - Fork 39
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
Produce an image as .tar.gz #283
Comments
Not yet, but it's definitely something that is doable. Jib does it, for example. Is this something you'd be interested in digging into? We'd need
|
Thanks for the hints. I cannot dig to it at the moment, but it's up-for-grabs for anyone willing to. |
This is something I'd be interested in as well. I'm new to this project, but if it's something that is easy for a new person to get ramped up on, I'd be willing to contribute here. |
Awesome @MattKotsenas! I'll assign to you. This should be fairly straightforward to implement, but will require some thought about how the user will request it. The implementation will be very close to this part of the sdk-container-builds/Microsoft.NET.Build.Containers/LocalDocker.cs Lines 40 to 60 in 86ad140
That creates a stream basically equivalent to what |
I opened a proposal for a new option here: #375 I have successfully used a similar approach on my earlier changes where I added the Windows Container Support and fixed the Tar format writing for LCOW. There are still some design decisions to take but the PR might give a base for discussion:
|
Thank you @Danielku15! |
Closing because @Danielku15 implemented this in dotnet/sdk#35151, which will ship in .NET 8.0.100 RC2. |
Can the SDK produce the docker image as a local .tar.gz as in
docker save
comand?The text was updated successfully, but these errors were encountered: