Comment on page
Hosting on Linux
This page is currently work-in-progress.
Linux users can launch the server executable using a Docker image or by using Wine. If you do not have a DirectX 11 capable GPU in your system (for example if you are using a hosting service), you will want to host a Headless server.
Install Docker and Docker-Compose
You will need obtain Titanfall2's game files, typically by copying over your Titanfall2 installation folder and placing it on the Linux machine. Most of these files are for singleplayer and therefore we can delete them from the installation folder and prune the file size down to ~5GB.
Copy Titanfall2 folder over to the Linux machine
- 2.Navigate to the folder where you want to store the files. You can put them into
- 3.Copy the newly pruned Titanfall2 folder to the server.
Copy mods to server
If you have configured some mods, these can be placed at a similar location, like
Note that Northstar itself is already installed in the Docker image. Therefore unless you are testing a development version you should NOT copy over the
Create docker-compose file
We are going to be using Docker-Compose to set up our container. This gives us much more flexibility and allows us to make changes to the start up arguments much cleaner. This example will let you start your servers without needing to have your compose file in the same folder and directory as Titanfall2 and your mods folder. Create a compose file in your home directory, or wherever is most convenient.
docker-compose.yml(Note that you will have to adjust some lines to make it work on your machine)
# uncomment for Northstar v1.12 and older
NS_SERVER_NAME: "Enter Server Name here"
NS_SERVER_DESC: "Enter your description here"
+setplaylist aitdm # Attrition
+mp_gamemode aitdm # Attrition
Run the following command
To run this container go to the folder where you saved the
docker-compose.ymlin and type
Hosting on a headless Linux server without Docker on Linux is not recommended, as you'll be forced to build packages yourself.