Is there a practical way to run older versions of Microsoft Office, rather than Microsoft 365, inside a Docker container? The goal is to use Office applications from a Linux-based setup, possibly through a graphical session such as VNC or RDP. I'm interested in hearing whether a Windows container, virtual machine, or compatibility layer like Wine would be the most reliable approach.
3 Answers
On a Linux desktop, Wine or CrossOver may be enough for some older Office releases. You could package the setup with a graphical service and access it over VNC or RDP, but compatibility varies by Office version and individual applications. A virtual machine is generally safer if you need dependable Word, Excel, or Outlook behavior.
The most reliable option is usually a Windows virtual machine, especially if you need full compatibility with older Office applications. You can run Windows in a managed container-style setup, but under the hood it is still effectively a virtual machine and may require appropriate Windows and Office licenses.
If you specifically want to use Docker, you can launch a Windows environment and install Office inside it, then connect to the desktop remotely. This can work, but setup, hardware requirements, licensing, and persistence are more complicated than with a regular container.

That’s how I run Office applications on Linux. It works, but it’s better to think of it as a Windows VM managed through containers rather than a normal Linux container.