How to install ONLYOFFICE DocSpace Server on Ubuntu using Docker

1. Overview

Duration: 2:00

ONLYOFFICE DocSpace is a web-based collaborative platform that allows users to edit and collaborate on text documents, spreadsheets, presentations and electronic forms in easily customizable rooms. The platform comes with a built-in office suite, ONLYOFFICE Docs, which provides professional tools for real-time document editing and co-authoring. That’s why ONLYOFFICE DocSpace is compatible with various file formats, including Word documents, Excel spreadsheets, PowerPoint presentations, PDFs, e-books and multimedia files.

Within the DocSpace platform, users interact in collaboration rooms and custom rooms where they are assigned with various access permissions. Room admins, power users, editors, viewers, commenters, reviewers and form fillers are the basic roles, each with certain privileges and restrictions. The role-based access system in DocSpace rooms makes it possible to streamline the collaboration process among internal users and users form the outside.

In this guide, we will tell you how to install ONLYOFFICE DocSpace on Ubuntu using Docker and how to get started with the basic features of the platform.

What you’ll learn

This guide teaches you how to install the ONLYOFFICE DocSpace platform on Ubuntu using Docker and how to use it for document collaboration.

What you’ll need

  • Ubuntu 22.04

  • Docker instance

2. Install Docker

Duration: 10:00

Docker is one of easiest ways to deploy and run ONLYOFFICE DocSpace. If you don’t have Docker installed on your Ubuntu machine, you can take a look at this guide in the Ubuntu Community Hub. Follow the instructions and make sure your Docker instance is running correctly.

Install ONLYOFFICE DocSpace

Duration: 15:00

To install ONLYOFFICE DocSpace, you need to have root rights. You can use the su – command to log into as a root user. In the terminal, run the command below to download the required script file:


Script file

When the script file is downloaded, you can proceed with installing and running ONLYOFFICE DocSpace as a Docker container. For this purpose, run this command in the terminal:

bash docker

Now you need to be patient as the installation and configuration process might take some time depending on your Internet connection. When the installation is over, you will see the following message:

Congratulations! You have successfully installed ONLYOFFICE DocSpace through Docker and the only thing you need to do before start collaborating on documents in real time is to register your DocSpace instance.

4. Register your ONLYOFFICE DocSpaceinstance

Duration: 2:00

After installation, open any web browser and enter the IP address of your computer in the local network. After that, you will see the DocSpace setup page where you will need to specify some information to register your DocSpace:

  • Email address;
  • Password (your password must contain at least 8 characters but no more than 30).

You can also choose any of the available languages and establish the preferred time zone. Don’t forget to tick the corresponding box to accept the License agreement terms. When done, click Continue to finish the registration process and access your DocSpace.

DocSpace wizard

5. Get started with your ONLYOFFICE DocSpace platform

Duration: 5:00

After successful registration, you will be redirected to your DocSpace. To start collaborative work, you need to create your first room. To do so, click the + icon and choose the room type you need.

A collaboration room is a place where you can collaborate on documents, sheets, slides and forms with other users. A custom room can used for any purpose. For example, it can be used as a place where you can keep some important documents, related to a certain project or task.

When your first room is ready, you can create new documents or upload the existing ones from your hard disc as well as invite others for collaboration. There is an option allowing you to add new users manually from the list of active users. If there are no users, you can invite somebody by sending them a link. When inviting others, you can set up the required access level for them making sure they can only access what you want them to.

As the DocSpace owner, you can also have full access to the settings page, assign new admins and power users and grant other permission roles. You can also set up the configuration of the platform. For example, you can change the appearance of your platform, apply branding settings, enable additional protection options, configure back ups and even integrate some third-party services.

ONLYOFFICE DocSpace has an intuitive interface so getting started with it is quite easy. You can use it as a secure collaborative hub for your team and other users.

1 Like