I'm trying to find a way to build a Docker image for my Angular project without using a Dockerfile. The issue is that I can't install Docker on my Windows office machine. Currently, I'm using Source-to-Image builds but I'm looking for better alternatives. I apologize if my question isn't very clear since I'm still learning the ropes!
5 Answers
If you're not allowed to install any tools, it might get tricky to work on your project. Have you considered asking for temporary permission to install Docker? It could really simplify things.
Do you have Windows Subsystem for Linux (WSL) available on your machine? If so, installing Docker there could be a straightforward solution for building your images.
There are indeed tools, such as buildah, which let you build images without a Docker or podman installation, but you’ll likely need to run Linux somewhere, at least. CI options could save you some hassle if that’s available.
It’s essential to note that you can't really build a Docker image without running Docker first. Since you can’t install it locally, setting up a Continuous Integration (CI) system to handle the image builds for you could be a smart solution.
Absolutely! Building a Linux image from a Windows machine without a Linux layer can be super complicated. It might be easier to just set up Docker if you can.
One option is to build your Docker image in your CI environment. This way, you don't need to worry about local installation issues.

While it’s true you need Docker, you can also use tools like buildah to create images without Docker or podman. However, you might still need a Linux environment to make the process smoother.