1

I noticed the Lazarus IDE and VSCode can be put into Docker Containers as devcontainers, so that you can develop and compile software inside that container. I have no experience with Docker, and I cannot seem to find any data on the internet on how to install/place the RAD Studio IDE into a container. So, I was hoping that someone here on SO could assist?

Is it indeed possible to install/setup the RAD Studio (not RAD Server) IDE into a container?

6
  • In general it's hard and platform-specific to run GUI applications in a container, and you won't have access to shared OS settings or the user's home directory or other files in most cases. I'd just install the IDE and other development tools you need on your host system.
    – David Maze
    Commented Aug 8 at 9:39
  • Hi David! I am unable to install anything on my host machine at the moment, which is why I was hoping to be able to put together a RAD Studio dev-container Commented Aug 8 at 9:55
  • While there have been attempts to install the compiler in a Docker container, I am not aware of any way to do that for the whole IDE.
    – Uwe Raabe
    Commented Aug 8 at 11:20
  • There are blog posts by Embarcadero for how to get Delphi-compiled Linux apps and RADServer/PAServer installed in Docker containers. But not the IDE/compiler itself. You should file a feature request. Commented Aug 8 at 14:37
  • Neither IDE can be put into a Docker container. Other non-GUI parts can similar to what PAServer provides for Delphi but with some additional / similar features. Ex: code.visualstudio.com/docs/devcontainers/containers
    – Brian
    Commented Aug 8 at 16:55

1 Answer 1

4

Docker runs on Linux kernel. Windows version of docker is based on WSL2, basically a VM with Linux. In order to run windows application inside docker container, it should contain a full blown VM with Windows. If you will try to run such container in Windows, you will basically run your app in Windows VM that runs in Linux VM, that runs on Windows. Such solution will be very slow and bugprone.

If you want to run RAD Studio on a computer where you do not have rights to install it, the best option will be to setup a VM with RAD Studio in the cloud (like MS Azure, Amazon AWS) or on your home hardware. Than connect to it via some sort of VPN and use Remote Desktop Connection. On a good internet, experience will be close to running VM localy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.