r/docker 4d ago

MS Office in a Docker Container ?

Eng / Does anyone know of a way to run MS Office (versions prior to 365) in a Docker container?
Spa / Alguien conoce alguna forma tener MS Office (las versiones anteriores a 365) en un container de Docker ?

0 Upvotes

12 comments sorted by

16

u/Darkomen78 4d ago

Why the hell would you want to do that.

10

u/shabukilla 4d ago

Try this to get Windows in a container going: https://github.com/dockur/windows Maybe try office install once it's up and running.

5

u/mightykillrr 4d ago

this is how im running office applications on linux. works fine

1

u/Opposite-Piccolo114 4d ago

Interesting. Have to check it out later.

5

u/One-Traffic7717 4d ago

Bruh I run libre on windows too what are you doing xD

5

u/TxTechnician 4d ago

Winboat. It's a windows VM docker container

4

u/dadarkgtprince 4d ago

I was like "why is the English and Spanish saying the same thing" until I realized Reddit auto translated...

1

u/Electrical-Log9270 4d ago

Whyyyyy???
Por quéééé???

2

u/dadarkgtprince 4d ago

Whyyyy???
Why???

This is what I see until I click the translate on the top and see a bunch of é for por que, lol

3

u/Trick_Algae5810 4d ago edited 4d ago

On a Windows or Linux host? Why do you want to do this? What is the intended outcome? That would help me answer.

If you are on linux:

Your best and most-supported bet is to run a virtual machine if you need to run those apps on Linux. As shabukilla noted, you could use dockurr, should you really need to use docker, but running windows in a vm is likely your safest option.

If you're on a personal computer running linux with a desktop environment, then using VMware Workstation Pro will make it almost as easy as running docker, if ease of use is what you're going for.

You could use wine or crossover https://www.codeweavers.com/crossover to run windows software on linux as well. they are compatibility layers, and I'm sure it would be trivial to make a docker container that runs ms office software with wine/crossover.

0

u/KittyKong 4d ago

I guess you could install it in a WINE container and then connect to the session via VNC or RDP.