This document describes how to use Podman Compose to host K2view Fabric Web Studio. It outlines the setup, components, installation options, and features relevant to Podman-based container environments.
Podman Compose Setup: Fabric Web Studio can be deployed using Podman Compose, which allows users to run Compose YAML files with Podman’s container engine. Podman Compose orchestrates the Web Studio environment—including a selected Fabric profile, an embedded Fabric engine, and a Traefik reverse proxy—enabling the creation of multiple, isolated Fabric Spaces. This setup offers a lightweight and daemonless alternative to Docker-based runtimes, fully aligned with Enterprise Linux practices.
Version 2.1 introduces minor enhancements to Fabric Web Studio, including an updated Fabric runtime, increased heap size defaults, an improved health check, simplified runtime overrides, and additional k2space.sh
options.
Please review the Prerequisites topic first. There are essential steps for installing and configuring Docker described in the prerequisites section. Please review these and the prerequisites.
The Podman Compose setup for Fabric Web Studio requires the following system prerequisites.
A supported Enterprise Linux distribution (e.g., RHEL, AlmaLinux, Rocky Linux, CentOS Stream) is required for running Podman in a production-grade configuration.
Git: Install Git from https://git-scm.com/downloads and follow the platform-specific instructions provided at Installing Git.
Podman: Install Podman using your distribution's package manager. For example, on RHEL-based systems:
sudo dnf install -y podman
Refer to the official documentation at https://podman.io/getting-started/installation for complete installation steps.
Podman Compose: Install Podman Compose to support Compose YAML workflows. Use either:
sudo dnf install -y podman-compose
pip3 install --user podman-compose
Note: Podman Compose provides native compatibility for Compose YAML files with Podman pods.
K2view Software
Internet Access is Required
Internet access is required to perform this installation. You will need access to:
The default administrator credentials are:
Ports Traefik employs the following ports:
Your Data Files Please note that persistent files created by Fabric Web Studio and the database instance you install will store their data in the "persistent-data" folder of your installation directory (e.g., K2view/Studio/persistent-data). Your Fabric Space's data is stored in the persistent-data/spacename directory. The respective space's directory will contain data if you create multiple spaces.
.env
file and set by default to be in the Fabric Web Studio installation directory.Command Line Options Please refer to the k2space.sh command options topic to learn about overrides and settings.
Various steps should be taken to get Fabric Web Studio up and running within the Fabric Docker Compose Runtime environment:
Before you proceed, confirm that you have a K2view Nexus Container Registry Account
You need to obtain credentials to access the K2view Nexus. Your K2view account representative can arrange this for you. If you do not have access, please contact your K2view representative, who can provide steps to help you through this process.
If Podman is not already installed on your machine, refer to the Podman and Podman Compose Installation topic.
The recommended approach is to install Podman using your Linux distribution's package manager. This will install the Podman engine and CLI tools. You must also install Podman Compose, which provides Compose YAML support for Podman-based environments.
Please follow the steps in the Podman and Podman Compose Installation guide to complete the installation and validate your setup. Please refer to the Podman and Podman Compose Installation topic.
You can download the distribution (recommended) or use Git, “clone” the K2view Blueprints to "download" them. These blueprints incorporate the Fabric Docker Compose Runtime installation files. The K2view Blueprints are hosted on GitHub.com (Internet access is required).
Please note that persistent files created by Fabric Web Studio and the database instance you install will store their data in the "persistent-data" folder of your installation directory (e.g., K2view/Studio/persistent-data). Your Fabric Space's data is stored in the persistent-data/spacename directory. The respective space's directory will contain data if you create multiple spaces. The location of the persistent data directory is configured in the .env
file and set by default to be in the Fabric Web Studio installation directory. This is a per-space configuration.
Select a Base Directory for your Download and Installation Directory Locations
First, please select a location to download the distribution or clone the K2view Blueprint content. This base directory can also hold the Fabric Web Studio installation directory from which it will run.
Use the change directory command on your shell to switch to the designated base directory:
cd [base directory]
Create your Download and Installation Directory Location
Using a shell, create a "K2view" directory. You can also use the K2view directory to hold the K2view Fabric Web Studio Installation directory. We recommend using K2view for this directory.
mkdir K2view
There are two options to obtain Fabric Web Studio. You can download a zip file or clone the content from K2view's Blueprints.
You can download the latest version of Fabric Web Studio for Podman from this location:
https://nexus.share.cloud.k2view.com/repository/k2view-download/web-studio/Studio-Podman-latest.zip
Then, change the directory to the K2view directory. Copy Studio-Podman-latest.zip
to this directory, and unzip Studio-Podman-latest.zip
to this directory. Then, rename the Studio-Podman
directory as Studio
.
cd K2view
# copy Studio-Podman-latest.zip to this directory
# unzip Studio-Podman-latest.zip to this directory
# rename Studio-Podman as Studio
The Studio directory contains the configuration, YAML, and the k2Space.sh
script files to configure and create your Fabric Web Studio spaces. Please refer to the What's in this Package topic above for details about these files.
You can now skip to Step 4.
Using a shell, change your directory to your K2view directory and run the following command to clone K2view Blueprints (this requires a prior installation of a Git client):
Using the prior example of the K2view
directory:
cd K2view
git clone https://github.com/k2view/blueprints.git
This will create a blueprints
directory with various subdirectories. The Studio
subdirectory holds the Fabric Web Studio installation files.
We recommend running Fabric Web Studio within the Studio
directory of the K2view
directory. From the K2view directory, copy the blueprints/Studio
directory as Studio
.
From the K2view directory
cp -r blueprints/Studio/ Studio
The Studio directory contains the configuration, YAML, and the k2Space.sh
script files to configure and create your Fabric Web Studio spaces. Please refer to the What's in this Package topic above for details about these files.
You should consider a few things, including configuring a Git repository for your project. Though not mandatory, it is a best practice to store your project files in Git (or in a Git-compliant code repository).
You can configure it before the creation of Fabric Space via the .env file. You can do so after starting Fabric Web Studio using its built-in Git client. Perform this step within Fabric Web Studio.
Configuring Git before Creating your Fabric Space
To do this, you must provide a token, a path to your Git repository, and the appropriate branch. You can create your initial space without this configuration. However, to configure it later, you must configure these values and recreate your space.
To configure Git, open the .env file and specify the following in the Git Integration section:
GIT_REPO - the Git repository URI to clone and store your project data.
GIT_BRANCH - the Git branch to use; the default is 'master'.
GIT_TOKEN - the token used to authenticate to your Git repository.
GIT_USERNAME - the user name used to authenticate to your Git repository.
Fabric Web Studio will use these parameters to run an initial clone and Git operations. The initial clone performed will be:
git clone --single-branch -b "${GIT_BRANCH}" "https://${GIT_TOKEN}@${GIT_REPO}"
Traefik will use its own self-signed TLS certificates for HTTPS connections by default. The Certificate is created for you by default for the machine. If you want to use a certificate created by your organization, everything is pre-configured for you to do so. You need to open the ssl-certs
directory within the installation package's directory (e.g., K2view/Studio
), where you will find the ssl-certs
directory and replace the certificate and private key files.
These files must be named cert.cer
and cert.key
, respectively. The TLS certificate must be in PEM format and contain the server, root, and intermediate certificates, should they exist.
If you perform this step after the initial installation, you must restart Fabric for these to take effect.
There are four profiles, each of which embeds Fabric. The default is 'studio'.
Using the default profile, 'studio', you will not need to provide the profile on the k2space.sh
command line. Otherwise, you will need to enter one of the other profiles.
Prerequisite
Podman must be installed and properly configured to access the container registry. If running in rootless mode, ensure the Podman socket is active.
Using the K2view Nexus Container Registry credentials provided to you, run the following command from the same directory where you performed the git clone
:
podman login -u [YourAccount] https://docker.share.cloud.k2view.com
You will be prompted to enter your password.
Depending on your environment and user permissions, you may need to prepend sudo
to the command on some Linux systems.
Tip: You can verify a successful login by running
podman info
and confirming registry authentication.
To ensure the Podman socket is active in rootless mode, follow these steps:
Check the status of the socket
systemctl --user status podman.socket
Enable and start the socket
systemctl --user enable --now podman.socket
This will:
Enable linger (so user services run after logout)
loginctl enable-linger $USER
Verify the socket is now listening
systemctl --user status podman.socket
You should see output like:
Active: active (listening)
The Podman login command and the k2space.sh
bash shell script require Internet access to log in and pull K2view Fabric images from the K2view Nexus Container Registry at docker. share. cloud. k2view.com.
If your target machine does not have Internet connectivity, you can follow this offline download procedure to transfer the required image from another system. The Fabric image is approximately 1.9GB, and its version must match the value specified in your local .env
file.
By preloading the image locally, the k2space.sh
script can create a Fabric Space without needing to download the image from the registry.
Save and compress the desired Fabric image on an online machine:
podman save docker.share.cloud.k2view.com/k2view/fabric-studio:X.Y.Z_0 | gzip > k2view_fabric-studio_X.Y.Z_0.tar.gz
Transfer the image file to your target (offline) machine:
Use scp
, USB, or any secure method to copy k2view_fabric-studio_X.Y.Z_0.tar.gz
to the target environment.
Load the image into Podman on the offline machine:
podman load -i k2view_fabric-studio_X.Y.Z_0.tar.gz
This will make the image available to the local Podman image store.
Important: Ensure that the image version matches the value in your
.env
file before executingk2space.sh
. This ensures proper image resolution and prevents unnecessary fetch attempts.
To specify a different or later version of Fabric to use with Fabric Web Studio, edit the .env
file's FABRIC_VERSION
parameter.
Please contact your K2view representative to determine which versions of Fabric you can use.
When creating a space, its name must consist of only lowercase alphanumeric characters, hyphens, and underscores, and start with either a letter or a number. You cannot use uppercase characters.
First, change the directory to your Installation directory, e.g., Studio
cd Studio
Ensuring you have Read-Other Permission on all .config files on Linux
You may need to have Read-Other permissions on the .config files on a Linux system. To do so use the chmod 644 [file]
command using:
chmod 644 *.config
Ensuring you have Execute Permission on Linux
You may need to make k2space.sh
executable on a Linux system. To do so, use the chmod
command using:
chmod 700 k2space.sh
Running the k2space.sh Script
You can create multiple Fabric spaces on your server. To do so, use the k2space.sh
script as shown here.
On some Linux systems, you may need to prefix the command with
sudo
.
./k2space.sh create [--profile=profile-name] spacename
You can omit passing in a -- profile
parameter to use the default profile, 'studio'.
./k2space.sh create spacename
Otherwise, please use the following --profile commands:
./k2space.sh create --profile=studio_pg spacename
./k2space.sh create --profile=studio_cass spacename
./k2space.sh create --profile=studio_pg_cass spacename
You will download Fabric from the K2view Nexus Container Registry when creating your first Fabric Space. While this is happening, you should observe the following.
$ ./k2space.sh create myspace
[+] Running 0/3
- fabric Pulling 177.1s
- init-fabric [⡀] 318.8MB / 1.964GB Pulling 177.1s
- e7a390e229e3 Downloading [========> ] 318.8MB/1.964GB
You have completed the installation and are ready to access Fabric Web Studio over HTTP or HTTPS.
Open a browser and connect to http://localhost/spacename
.
You can also connect to Fabric remotely, using https://[hostname or IP address]/spacename
.
Traefik will default to using its own self-signed TLS certificates for HTTPS connections. The Certificate is created for you by default for the machine. If you want to use a certificate created by your organization, everything is pre-configured for you to do so. See the "Configuring TLS" topic above for instructions.
When presented with the login screen, enter:
If you access Fabric Web Studio, you have successfully installed it.
This document describes how to use Podman Compose to host K2view Fabric Web Studio. It outlines the setup, components, installation options, and features relevant to Podman-based container environments.
Podman Compose Setup: Fabric Web Studio can be deployed using Podman Compose, which allows users to run Compose YAML files with Podman’s container engine. Podman Compose orchestrates the Web Studio environment—including a selected Fabric profile, an embedded Fabric engine, and a Traefik reverse proxy—enabling the creation of multiple, isolated Fabric Spaces. This setup offers a lightweight and daemonless alternative to Docker-based runtimes, fully aligned with Enterprise Linux practices.
Version 2.1 introduces minor enhancements to Fabric Web Studio, including an updated Fabric runtime, increased heap size defaults, an improved health check, simplified runtime overrides, and additional k2space.sh
options.
Please review the Prerequisites topic first. There are essential steps for installing and configuring Docker described in the prerequisites section. Please review these and the prerequisites.
The Podman Compose setup for Fabric Web Studio requires the following system prerequisites.
A supported Enterprise Linux distribution (e.g., RHEL, AlmaLinux, Rocky Linux, CentOS Stream) is required for running Podman in a production-grade configuration.
Git: Install Git from https://git-scm.com/downloads and follow the platform-specific instructions provided at Installing Git.
Podman: Install Podman using your distribution's package manager. For example, on RHEL-based systems:
sudo dnf install -y podman
Refer to the official documentation at https://podman.io/getting-started/installation for complete installation steps.
Podman Compose: Install Podman Compose to support Compose YAML workflows. Use either:
sudo dnf install -y podman-compose
pip3 install --user podman-compose
Note: Podman Compose provides native compatibility for Compose YAML files with Podman pods.
K2view Software
Internet Access is Required
Internet access is required to perform this installation. You will need access to:
The default administrator credentials are:
Ports Traefik employs the following ports:
Your Data Files Please note that persistent files created by Fabric Web Studio and the database instance you install will store their data in the "persistent-data" folder of your installation directory (e.g., K2view/Studio/persistent-data). Your Fabric Space's data is stored in the persistent-data/spacename directory. The respective space's directory will contain data if you create multiple spaces.
.env
file and set by default to be in the Fabric Web Studio installation directory.Command Line Options Please refer to the k2space.sh command options topic to learn about overrides and settings.
Various steps should be taken to get Fabric Web Studio up and running within the Fabric Docker Compose Runtime environment:
Before you proceed, confirm that you have a K2view Nexus Container Registry Account
You need to obtain credentials to access the K2view Nexus. Your K2view account representative can arrange this for you. If you do not have access, please contact your K2view representative, who can provide steps to help you through this process.
If Podman is not already installed on your machine, refer to the Podman and Podman Compose Installation topic.
The recommended approach is to install Podman using your Linux distribution's package manager. This will install the Podman engine and CLI tools. You must also install Podman Compose, which provides Compose YAML support for Podman-based environments.
Please follow the steps in the Podman and Podman Compose Installation guide to complete the installation and validate your setup. Please refer to the Podman and Podman Compose Installation topic.
You can download the distribution (recommended) or use Git, “clone” the K2view Blueprints to "download" them. These blueprints incorporate the Fabric Docker Compose Runtime installation files. The K2view Blueprints are hosted on GitHub.com (Internet access is required).
Please note that persistent files created by Fabric Web Studio and the database instance you install will store their data in the "persistent-data" folder of your installation directory (e.g., K2view/Studio/persistent-data). Your Fabric Space's data is stored in the persistent-data/spacename directory. The respective space's directory will contain data if you create multiple spaces. The location of the persistent data directory is configured in the .env
file and set by default to be in the Fabric Web Studio installation directory. This is a per-space configuration.
Select a Base Directory for your Download and Installation Directory Locations
First, please select a location to download the distribution or clone the K2view Blueprint content. This base directory can also hold the Fabric Web Studio installation directory from which it will run.
Use the change directory command on your shell to switch to the designated base directory:
cd [base directory]
Create your Download and Installation Directory Location
Using a shell, create a "K2view" directory. You can also use the K2view directory to hold the K2view Fabric Web Studio Installation directory. We recommend using K2view for this directory.
mkdir K2view
There are two options to obtain Fabric Web Studio. You can download a zip file or clone the content from K2view's Blueprints.
You can download the latest version of Fabric Web Studio for Podman from this location:
https://nexus.share.cloud.k2view.com/repository/k2view-download/web-studio/Studio-Podman-latest.zip
Then, change the directory to the K2view directory. Copy Studio-Podman-latest.zip
to this directory, and unzip Studio-Podman-latest.zip
to this directory. Then, rename the Studio-Podman
directory as Studio
.
cd K2view
# copy Studio-Podman-latest.zip to this directory
# unzip Studio-Podman-latest.zip to this directory
# rename Studio-Podman as Studio
The Studio directory contains the configuration, YAML, and the k2Space.sh
script files to configure and create your Fabric Web Studio spaces. Please refer to the What's in this Package topic above for details about these files.
You can now skip to Step 4.
Using a shell, change your directory to your K2view directory and run the following command to clone K2view Blueprints (this requires a prior installation of a Git client):
Using the prior example of the K2view
directory:
cd K2view
git clone https://github.com/k2view/blueprints.git
This will create a blueprints
directory with various subdirectories. The Studio
subdirectory holds the Fabric Web Studio installation files.
We recommend running Fabric Web Studio within the Studio
directory of the K2view
directory. From the K2view directory, copy the blueprints/Studio
directory as Studio
.
From the K2view directory
cp -r blueprints/Studio/ Studio
The Studio directory contains the configuration, YAML, and the k2Space.sh
script files to configure and create your Fabric Web Studio spaces. Please refer to the What's in this Package topic above for details about these files.
You should consider a few things, including configuring a Git repository for your project. Though not mandatory, it is a best practice to store your project files in Git (or in a Git-compliant code repository).
You can configure it before the creation of Fabric Space via the .env file. You can do so after starting Fabric Web Studio using its built-in Git client. Perform this step within Fabric Web Studio.
Configuring Git before Creating your Fabric Space
To do this, you must provide a token, a path to your Git repository, and the appropriate branch. You can create your initial space without this configuration. However, to configure it later, you must configure these values and recreate your space.
To configure Git, open the .env file and specify the following in the Git Integration section:
GIT_REPO - the Git repository URI to clone and store your project data.
GIT_BRANCH - the Git branch to use; the default is 'master'.
GIT_TOKEN - the token used to authenticate to your Git repository.
GIT_USERNAME - the user name used to authenticate to your Git repository.
Fabric Web Studio will use these parameters to run an initial clone and Git operations. The initial clone performed will be:
git clone --single-branch -b "${GIT_BRANCH}" "https://${GIT_TOKEN}@${GIT_REPO}"
Traefik will use its own self-signed TLS certificates for HTTPS connections by default. The Certificate is created for you by default for the machine. If you want to use a certificate created by your organization, everything is pre-configured for you to do so. You need to open the ssl-certs
directory within the installation package's directory (e.g., K2view/Studio
), where you will find the ssl-certs
directory and replace the certificate and private key files.
These files must be named cert.cer
and cert.key
, respectively. The TLS certificate must be in PEM format and contain the server, root, and intermediate certificates, should they exist.
If you perform this step after the initial installation, you must restart Fabric for these to take effect.
There are four profiles, each of which embeds Fabric. The default is 'studio'.
Using the default profile, 'studio', you will not need to provide the profile on the k2space.sh
command line. Otherwise, you will need to enter one of the other profiles.
Prerequisite
Podman must be installed and properly configured to access the container registry. If running in rootless mode, ensure the Podman socket is active.
Using the K2view Nexus Container Registry credentials provided to you, run the following command from the same directory where you performed the git clone
:
podman login -u [YourAccount] https://docker.share.cloud.k2view.com
You will be prompted to enter your password.
Depending on your environment and user permissions, you may need to prepend sudo
to the command on some Linux systems.
Tip: You can verify a successful login by running
podman info
and confirming registry authentication.
To ensure the Podman socket is active in rootless mode, follow these steps:
Check the status of the socket
systemctl --user status podman.socket
Enable and start the socket
systemctl --user enable --now podman.socket
This will:
Enable linger (so user services run after logout)
loginctl enable-linger $USER
Verify the socket is now listening
systemctl --user status podman.socket
You should see output like:
Active: active (listening)
The Podman login command and the k2space.sh
bash shell script require Internet access to log in and pull K2view Fabric images from the K2view Nexus Container Registry at docker. share. cloud. k2view.com.
If your target machine does not have Internet connectivity, you can follow this offline download procedure to transfer the required image from another system. The Fabric image is approximately 1.9GB, and its version must match the value specified in your local .env
file.
By preloading the image locally, the k2space.sh
script can create a Fabric Space without needing to download the image from the registry.
Save and compress the desired Fabric image on an online machine:
podman save docker.share.cloud.k2view.com/k2view/fabric-studio:X.Y.Z_0 | gzip > k2view_fabric-studio_X.Y.Z_0.tar.gz
Transfer the image file to your target (offline) machine:
Use scp
, USB, or any secure method to copy k2view_fabric-studio_X.Y.Z_0.tar.gz
to the target environment.
Load the image into Podman on the offline machine:
podman load -i k2view_fabric-studio_X.Y.Z_0.tar.gz
This will make the image available to the local Podman image store.
Important: Ensure that the image version matches the value in your
.env
file before executingk2space.sh
. This ensures proper image resolution and prevents unnecessary fetch attempts.
To specify a different or later version of Fabric to use with Fabric Web Studio, edit the .env
file's FABRIC_VERSION
parameter.
Please contact your K2view representative to determine which versions of Fabric you can use.
When creating a space, its name must consist of only lowercase alphanumeric characters, hyphens, and underscores, and start with either a letter or a number. You cannot use uppercase characters.
First, change the directory to your Installation directory, e.g., Studio
cd Studio
Ensuring you have Read-Other Permission on all .config files on Linux
You may need to have Read-Other permissions on the .config files on a Linux system. To do so use the chmod 644 [file]
command using:
chmod 644 *.config
Ensuring you have Execute Permission on Linux
You may need to make k2space.sh
executable on a Linux system. To do so, use the chmod
command using:
chmod 700 k2space.sh
Running the k2space.sh Script
You can create multiple Fabric spaces on your server. To do so, use the k2space.sh
script as shown here.
On some Linux systems, you may need to prefix the command with
sudo
.
./k2space.sh create [--profile=profile-name] spacename
You can omit passing in a -- profile
parameter to use the default profile, 'studio'.
./k2space.sh create spacename
Otherwise, please use the following --profile commands:
./k2space.sh create --profile=studio_pg spacename
./k2space.sh create --profile=studio_cass spacename
./k2space.sh create --profile=studio_pg_cass spacename
You will download Fabric from the K2view Nexus Container Registry when creating your first Fabric Space. While this is happening, you should observe the following.
$ ./k2space.sh create myspace
[+] Running 0/3
- fabric Pulling 177.1s
- init-fabric [⡀] 318.8MB / 1.964GB Pulling 177.1s
- e7a390e229e3 Downloading [========> ] 318.8MB/1.964GB
You have completed the installation and are ready to access Fabric Web Studio over HTTP or HTTPS.
Open a browser and connect to http://localhost/spacename
.
You can also connect to Fabric remotely, using https://[hostname or IP address]/spacename
.
Traefik will default to using its own self-signed TLS certificates for HTTPS connections. The Certificate is created for you by default for the machine. If you want to use a certificate created by your organization, everything is pre-configured for you to do so. See the "Configuring TLS" topic above for instructions.
When presented with the login screen, enter:
If you access Fabric Web Studio, you have successfully installed it.