How to Install Dotnet in Docker Container to use Aspose.Cells

This short tutorial guides to Install Dotnet in Docker Container to use Aspose.Cells. It contains detailed steps to create the Docker Image for using Aspose.Cells for .NET in it. In the end, you will be able to process Excel in Linux like converting XLSX, XLS, ODS, or XLSM to PDF with the help of a runnable sample code.

Steps to Install Dotnet in Docker Container to use Aspose.Cells

  1. Pull Docker image for Microsoft Dotnet
  2. Run the container and update the packages along with the list of packages
  3. Install wget command
  4. Install sudo command
  5. Install dotnet-sdk-3.1 with the help of sudo command
  6. Install libgdiplus and libc6-dev library
  7. Run the image by linking and opening your project folder on the host computer in the Docker container
  8. Run your test program

These steps describe the process to work with Excel on Ubuntu with the help of detailed steps. It is assumed that you have installed Docker software on your system and then you start by pulling the Docker image for Microsoft Dotnet and run this image. In the next step to work with Excel in Ubuntu necessary libraries and SDK is installed to do development and execution of the program in the Docker image and committed on the disk. In the last step, the development folder on the host system is linked with some folder in the Docker image, and the test program is executed.

Script to Install Dotnet in Docker Container to use Aspose.Cells

This script assists in establishing the complete environment to run Aspose.Cells for .NET in the Docker container. While working in Linux spreadsheet can be created and processed with full functionality. You have to prepare the container first by installing the required libraries and then commit it to make the changes permanent.

This tutorial has guided us to work with Excel in Linux. If you want to work with Excel in Python via Java, refer to the article on how to install python to run aspose cells for python via java.

 English