Media Foundation, which includes Windows Media Foundation, the Windows Media Format SDK, and a server subset of DirectShow, provides the infrastructure required for applications and services to transcode, analyze, and generate thumbnails for media files.
Crosspost: https://social.msdn.microsoft.com/Forums/en-US/b646b841-c9fb-4f39-9662-5b59f02279ab/installing-servermediafoundation-in-a-docker-container?forum=windowscontainers
Trying to install the Windows version of Plex inside a Windows Server 2016 container. Our results thusfar:https://www.reddit.com/r/PleX/comments/5746vh/pms_installation_in_windows_server_2016_docker/
Server and client:
Server and client:
Version: 1.13.0-dev
API version: 1.25
Go version: go1.7.1
Git commit: 9f5ffa2
Windows Server 2016 RTM MSDN Using microsoft/windowsservercore as base image.
Plex installs and files are placed in the correct places. However, when trying to run Plex Media Server.exe, it just quits. Docs on the internet note that you need the ServerMediaFoundation feature on Windows Core installed in order for Plex to run.
Tested this: New 2016 Core VM, Plex installed, doesn't run. Installed the ServerMediaFoundation feature and rebooted: Plex works.
I think we're really stuck on the installation of the ServerMediaFoundation feature inside the docker container. The features appears to install and demands a reboot. Rebooting makes the docker container stall. Stopping and restarting the container shows the feature is not installed.
Hardcore docker, especially on Windows, is new to me but I'm going to make a wild guess here: Could the feature installation depend on image modifications of the microsoft/windowsservercore image? Like, it needs to inject into the kernel which is shared between images/containers?
In short: Is it possible to run Dism /online /enable-feature /all /FeatureName:ServerMediaFoundation and make it work? Or does one have to hack the crap out the Microsoft/WindowsServerCore image (which isn't allowed by EULA I believe)?
Dockerfile:
FROM microsoft/windowsservercore
LABEL Description='PMS'
COPY PlexInstaller.exe C:
COPY install-media.bat C:
RUN C:install-media.bat
RUN PlexInstaller.exe /install /quiet
RUN del C:PlexInstaller.exe
RUN del C:install-media.bat
CMD [ 'cmd' ]
Install-media.bat (nasty hack to get correct error code from DISM):
Dism /online /enable-feature /FeatureName:ServerMediaFoundation /NoRestart
ver > nul
TL;DR: Is it possible to install the Server-Media-Foundation feature inside a Microsoft/WindowsServerCore image on Windows Server 2016 RTM?
Exchange 2013 Server installation – Part 2
Posted by Alan McBurney on November 5, 2012
In the first part of this multi part blog post I covered the installation of the Client Access Server
This time around we will cover the installation of the Mailbox role.
Lets get started by covering off the pre-requisites the Mailbox Role
- Server Media Foundation roles To install Server-Media-Foundation open PowerShell and run the following commandsImport-Module ServerManagerAdd-WindowsFeature Server-Media-FoundationShutdown –r -t 00
- When the server comes back up after its reboot install Microsoft Unified Communications API 4.0 Runtime
- Then we install the Office 2010 Filter Packs Version 2.0
- And finally its Office 2010 Filter Packs 2.0 Service Pack 1
One final reboot is required before we can install the Exchange 2013 Mailbox role.
Once the server is back up we can go ahead and launch the Exchange 2013 setup routine.
The following screenshots will guide you though the install
Once the installation is complete we can check that the Exchange Admin Center comes up as expected.
Open your web browser and enter the IPDNS name of your CAS server. For me its
As I installed a trusted certificate yet I will get a security error once I connect. This can be ignored as its expected behaviour
Once you have accepted the warning you will be presented with the Exchange Admin Center
Repeat the installation process for MBX02 and once complete that concludes part 2 of this blog post.
Next time out I will configure up the Client Access Server Client URLs and setup the Kemp Virtual Load Master
Advertisements