Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
Docker is a free, open-source framework that automates the deployment and scaling of applications within lightweight containers. It packages application code together with all dependencies, such as libraries, tools, and configurations, within one package and runs uniformly across any environment, be it your developer's laptop, the test server, or the actual production cloud server.
Containers are not the same as traditional virtual machines. Containers share the OS kernel of a host system, thus making it much more efficient and faster to launch.
Essentially, Docker defines an application and its environment through Docker images, which are templates for the creation of containers. Orchestration tools include Docker Compose for multi-container applications, and Docker Hub is the central repository where we share images.
Nextcloud Docker Compose illustrates how to use Docker containers to provide an isolated, portable, and scalable environment for the self-hosted cloud storage application Nextcloud. This popular solution supports file storage and sharing, calendars, contacts, and more, while allowing full control over data.
It simplifies the setup because dependencies like PHP and the web server are contained within one container; Docker makes installing and managing Nextcloud much easier. This also guarantees that everything runs identically across different environments, allowing smooth deployments onto different systems.
Running Nextcloud in Docker is easy, modular, and scalable. For example, in a multi-container setup using Docker Compose, you run separate containers for the Nextcloud database (e.g., MySQL or MariaDB), caching (e.g., Redis), and the Nextcloud application itself. This adds flexibility, allowing for easier management and scalability of Nextcloud instances.
Nextcloud Docker offers ease of deployment and management features with all the major key features listed below:
All these features make Nextcloud Docker an efficient solution for hosting your private cloud infrastructure.
Pull the official Nextcloud Docker image from Docker Hub by running the following command in your terminal:
docker pull nextcloud
docker pull nextcloud
Alternatively, open the Docker application and search for "nextcloud" in the search box.
To run the Nextcloud installation, use the command below in the command prompt:
docker run -d -p 8080:80 nextcloud
docker run -d -p 8080:80 nextcloud
This command will download the Nextcloud image and create a new container, exposing it on port 8080.
Nextcloud requires a database to store its data. We can use MariaDB as a drop-in replacement for MySQL.
First, pull the MariaDB image:
docker pull mariadb
docker pull mariadb
Create the MariaDB container using this command:
docker run -d \
--name nextcloud-db \
-e MYSQL_ROOT_PASSWORD=your_root_password \
-e MYSQL_DATABASE=nextcloud \
-e MYSQL_USER=nextcloud_user \
-e MYSQL_PASSWORD=your_password \
mariadb
docker run -d \
--name nextcloud-db \
-e MYSQL_ROOT_PASSWORD=your_root_password \
-e MYSQL_DATABASE=nextcloud \
-e MYSQL_USER=nextcloud_user \
-e MYSQL_PASSWORD=your_password \
mariadb
Replace your_root_password
and your_password
with strong passwords of your choice. This command sets up a MariaDB container named nextcloud-db
with a database called nextcloud
and a user named nextcloud_user
.
Access the Nextcloud installation by opening a web browser and entering the server's IP address or domain name where Nextcloud is hosted. For local installations, use:
http://localhost:8080/
Upon accessing the setup page, create an admin user. The Nextcloud CLI is also available for managing configurations and setups if needed.
After entering the required information, configure the database connection:
localhost
for local databases or the database container name (e.g., nextcloud-db
) if using Docker.nextcloud
in this example.Fill in all the necessary details and click "Finish Setup" to complete the installation.
IronSecureDoc is a document security tool used for encrypting, redacting, and digitally signing sensitive files. It secures PDFs, allowing users to control personal data and confidential information effectively.
Pull the IronSecureDoc Docker image using:
docker pull ironsoftwareofficial/ironsecuredoc
docker pull ironsoftwareofficial/ironsecuredoc
To run the IronSecureDoc container, use:
docker container run --rm -p 8080:8080 \
-e IronSecureDoc_LicenseKey=<IRONSECUREDOC_LICENSE_KEY> \
-e ENVIRONMENT=Development \
-e HTTP_PORTS=8080 \
ironsoftwareofficial/ironsecuredoc:latest
docker container run --rm -p 8080:8080 \
-e IronSecureDoc_LicenseKey=<IRONSECUREDOC_LICENSE_KEY> \
-e ENVIRONMENT=Development \
-e HTTP_PORTS=8080 \
ironsoftwareofficial/ironsecuredoc:latest
Replace <IRONSECUREDOC_LICENSE_KEY>
with your actual license key. This command launches the IronSecureDoc container, exposing it on port 8080.
IronSecureDoc can be accessed through its REST API after installation. Documentation and API endpoints can be found at http://localhost:8080/swagger/index.html
.
To submit a document for encryption, use a POST request via curl
:
curl -X 'POST' \
'http://localhost:8080/v1/document-services/pdfs/encrypt?user_password=demo' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'pdf_file=@test.pdf;type=application/pdf'
curl -X 'POST' \
'http://localhost:8080/v1/document-services/pdfs/encrypt?user_password=demo' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'pdf_file=@test.pdf;type=application/pdf'
This forwards the document to IronSecureDoc, applying the appropriate encryption.
Nextcloud and IronSecureDoc serve different purposes in secure data handling. Nextcloud is a robust, self-hosted cloud platform for managing and sharing data, offering full privacy control and scalability via Docker. IronSecureDoc provides advanced document encryption, ensuring secure handling of sensitive files. Integrating with Docker makes both solutions suitable for scalable, secure environments.
Click here for more information on IronSecureDoc licensing. For more information on product lines offered by Iron Software, check here.
Docker is a free, open-source framework that automates the deployment and scaling of applications within lightweight containers. It packages application code together with all dependencies, ensuring uniformity across different environments.
Docker containers share the OS kernel of a host system, making them more efficient and faster to launch compared to traditional virtual machines.
A self-hosted cloud storage application supports file sharing, calendars, and contacts. Using Docker Compose helps provide an isolated, portable, and scalable environment for such applications, simplifying setup and ensuring consistent performance across environments.
Key features include simplified setup, portability, isolation, scalability, persistent storage, easy upgrades, and enhanced security.
You can install such an application by pulling the official Docker image with the command `docker pull
Prerequisites include Windows 10/11 (Pro, Enterprise, or Education) with WSL 2 support, Docker Desktop installed and running, and basic familiarity with using a terminal or command prompt.
Pull the database image with `docker pull
IronSecureDoc is a document security tool used for encrypting, redacting, and digitally signing sensitive files, securing PDFs to control personal data effectively.
Pull the IronSecureDoc Docker image with `docker pull ironsoftwareofficial/ironsecuredoc` and run it using the specified command. It can be accessed through its REST API for document encryption.
Cloud storage applications offer a robust platform for managing and sharing data with full privacy control, while IronSecureDoc provides advanced document encryption, ensuring secure handling of sensitive files.