Search
Close this search box.

Introduction #

Docker is a platform that enables developers to package applications into containers—standardized executable components combining application source code with the operating system (OS) libraries and dependencies required to run that code in any environment. Containers are isolated from each other and bundle their software, libraries, and configuration files; they can communicate through well-defined channels. Docker provides the ability to package and run an application in a loosely isolated environment called a container.

The benefits of Docker include:

  • Portability: Since the container contains all the dependencies, the application can run on any Docker system installed, regardless of the configuration.
  • Consistency: Developers can be assured that the application runs the same way in development, staging, and production environments.
  • Efficiency: Containers can share OS kernels and use less memory than traditional virtual machines.

Wizzdi Customer Cluster #

When you deploy an application on the Wizzdi customer’s cluster (see deploy), the Docker image is automatically built and deployed “under the hood.” This means that the platform takes care of containerization aspects such as setting up the Docker environment, creating the Docker image, and deploying it within the customer’s cluster. This process abstracts the complexities of container management and allows you to focus on the development of the application itself.

Installing Docker #

If you wish to deploy the Docker container elsewhere, you need to have Docker installed on the target system. Here’s how you can install Docker on the three major operating systems.

Deploying with Docker Compose #

Once Docker (and Docker Compose on Linux) is installed, you can deploy your application by following these steps:

  1. Clone the created code repository to your local machine or selected server. The required files are in the remote repository you have set for the app.
  2. Navigate to the main folder of the code where the docker-compose.yml the file is located.
  3. Run docker compose up in the terminal.

This command will start all services defined in your docker-compose.yml file. Docker will download any images required and run the containers as defined in your configuration.

You can now access the running app OpenAPI interface from the same system browser
HTTP://localhost:8080/swagger-ui.html

If you have uploaded static files into Wizzdi Cloud, you can access the user interface on:
HTTP://localhost:8080

Was This Helpful?
Updated on May 11, 2024

Build Without Limits

Unleash innovation and avoid restrictions: build freely with solutions that leave you unbound.