Docker is a platform that allows developers and IT teams to build, ship, and run applications inside containers.
A container is a lightweight, standalone unit that packages everything an application needs to run — including:
- the application code
- libraries
- dependencies
- system tools
- runtime
This ensures the application runs the same way everywhere — whether on a developer’s laptop, a testing server, or in the cloud.
A. Docker
Visit the following link to install Docker engine:
=============================================================
https://docs.docker.com/engine/install/ubuntu/
=============================================================
Run the following command in your terminal to make sure that there are no conflicting packages installed on your machine.
=============================================================
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
=============================================================

You should see the following message in your terminal for the several conflicting packages:

Let’s install Docker using the apt repository
Install Docker GPG key to make sure that we are installing the official version
=============================================================
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
=============================================================

Add the repository to Apt sources:
=============================================================
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
=============================================================

To install the latest version run:
=============================================================
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
=============================================================

Verify that the installation is successful by running the hello-world image:
=============================================================
sudo docker run hello-world
=============================================================

The following message should appear on screen if the installation is working:

B. Peppermint
Create a folder in your home directory called Peppermint
=============================================================
mkdir peppermint
=============================================================
Then CD to the created folder:
=============================================================
cd peppermint/
=============================================================

Please visit peppermint.sh and go to their Github page

Go to the documentation section of the page and click on “here”

On the left section of the page, click on “Install with Docker”

Create a .yml file named docker-compose
=============================================================
nano docker-compose.yml
=============================================================

Paste the following data into the file
=============================================================
`
version: "3.1"
services:
peppermint_postgres:
container_name: peppermint_postgres
image: postgres:latest
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: peppermint
POSTGRES_PASSWORD: 1234
POSTGRES_DB: peppermint
peppermint:
container_name: peppermint
image: pepperlabs/peppermint:latest
ports:
- 3000:3000
- 5003:5003
restart: always
depends_on:
- peppermint_postgres
environment:
DB_USERNAME: "peppermint"
DB_PASSWORD: "1234"
DB_HOST: "peppermint_postgres"
SECRET: 'peppermint4life'
volumes:
pgdata:
Setup your API url by adding the following line to the file:
=============================================================
API_URL: "http://localhost:3000"
=============================================================

Then save the file.
Run the following command to start the containers:
=============================================================
sudo docker-compose up -d
=============================================================


When completed, open a browser and navigate to the address specified in your .yml file. In our case it was:
API_URL: "http://localhost:3000"
You are now at the login page.

The default credentials are the following:
=============================================================
admin@admin.com
1234
=============================================================
We are now at the dashboard.

info:
Here is the command to switch off the containers when necessary:
=============================================================
sudo docker compose down
=============================================================
C.Software configuration
Users creation
Go to the admin section of the dashboard

Then open the Users section

Fill in the form and confirm with “Create user”

The user will then appear in the list of internal users

Follow the same process to add more users.

Then proceed with clients creation (people creating tickets such as employees, customers)
Go to the clients section and click on New client

Fill in the form and click on Save

The created clients will appear in the list of users.
Let’s open a ticket as a normal user
Go to the login page and log as a normal user

Then click on “New issue”

Complete the fields and click on “create ticket”

The created ticket will then appear on the list of open tickets.

Click on the item to see the details of the ticket

Comment the issue and click on “close issue”

Go back to the homepage and click on “closed”

You will see that the ticket appears in the closed issues.

Let’s create a new issue related to a network issue. Fill in the form then click on “create ticket”

Go to the issues section of the panel and click on “Open”. The list of open ticket will be displayed. You will then be able to open the ticket you are interested in.

Since this is a network issue, I will assign the ticket to a network technician.
First I will leave a comment for the network technician and click on “comment”.

Then I will assign the ticket to the network technician.
1 – Click on your name
2 – Click on the employee you want to assign the ticket to

The ticket is now assigned to the selected employee

You can also set the priority of the ticket

And the status of the ticket

If you go to the dashboard, you will see that the ticket is assigned to the selected employee

Let’s now log in as the network technician to handle the ticket.

In the issues section, click on “Open” to see the open tickets.

Open the ticket, add a comment, click on “comment” and “close issue” since the issue has been resolved.

The ticket is now closed.
