-
Notifications
You must be signed in to change notification settings - Fork 290
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
Support air-gapped environment #185
Comments
The Hyper-V installation flow is performed using |
This is not clearly specified, but believe this is a Windows specific issue? This partially applies to macOS too.
On Windows with the introduction of containers/podman@0f53abd the issue containers/podman#14698 has been resolved. Images are downloaded from: https://github.com/containers/podman-wsl-fedora. The init flow automatically determines the latest version. But they can be embedded in an installer or manually provided and used as |
@gbraad Can they optionally be embedded in the installer than along with the podman CLI to support this issue? Or at least docs on the method users should do. |
For non-Windows platforms this is more problematic as the installation flow expects to run an ignition installation description, which pulls packages from the internet. To optimize this we can use a similar way by using prepped images. The Podman team prefers to be flexible as the ignition file allows more customization. I think we can have both; a generic image deployment (which will always succeed and result in the same setup) and the ignition flow as an advanced usecase. Note; prepping images is also an involved; automation is possible as we have seen with WSL. I remember running tests to even convert the WSL images to bootable ones, though this is not the approach we wanna take; too involved. Best to run ignition on a pipeline and package an image. I understand that the ignition file does not pull packages anymore, but instead only removes a specific package. So the deployment on non-Windows should also be possible in an air-gapped setup. |
@braunsonm Will put this discussion on the agenda again. A fallback image for an airgapped/network failure might be an option. |
@braunsonm for docs, a possible FAQ or doc entry would be possible. The steps are something along the lines of:
|
AI: break down into sub-tasks. |
thanks for working on this feature. May I know if there's a user doc on how to do it on user end? i.e caching the binaries and installing it on airgap machine? I don't see it listed anywhere in https://podman-desktop.io/docs/Installation/windows-install |
hello @bwgjoseph the binaries will only produced for the "releases" and not for the "pre-releases" You can build the binaries on your own for now to try it out Follow all pre-requisites to build Podman Desktop and call:
on Windows or macOS to have .exe or dmg airgapped files. |
Hi @benoitf, What do you mean by "releases" and not "pre-releases"? I just cloned and followed the instruction to build, and this is what is in the Do I bring everything to airgap machine to install Thanks! |
pre-releases = push to github releases new artifacts on each commits to the main branch releases = only when we create a tag You've everything you need with these Windows assemblies.
|
ah, thanks! To further clarify, you mentioned that it produces "release", but the filename shows Anyhow, I will test it on airgap machine soon, and see if it has any issue installing and running it. Will report back once I am done tested it |
I have tested installing on an air-gapped machine and the installation is looking good! I just realize that the installer is also provided as part of the release binaries. Thanks! |
Is your feature request related to a problem? Please describe
Does not support installation on air-gapped environment and non WSL Windows setup. See #180
Describe the solution you'd like
Describe alternatives you've considered
No response
Sub Tasks
The text was updated successfully, but these errors were encountered: