How to launch Webtop GUI by using Docker image on Rocky Linux 8.6

To launch Webtop GUI by using Docker Image on Rocky Linux 8.6

Introduction:

Docker containerization enables developers to package applications into containers. This technology offers full desktop environments in officially supported flavors through Alpine, Ubuntu, Fedora, and Arch-based containers.

Installation Procedure:

Step 1: Check the OS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

Step 2: Check the Docker status by using the below command

[root@linuxhelp ~]# systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Fri 2022-07-22 02:35:59 EDT; 2 weeks 2 days ago
     Docs: https://docs.docker.com
 Main PID: 43049 (dockerd)
    Tasks: 9
   Memory: 47.0M
   CGroup: /system.slice/docker.service
           └─43049 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Step 3: Pulling the “webtop” from Docker HUB by using the below command

[root@linuxhelp ~]# docker pull linuxserver/webtop
Using default tag: latest
latest: Pulling from linuxserver/webtop
b3d72b7a8ae2: Pull complete 
010a58c0c63e: Pull complete 
4de88d20b662: Pull complete 
acee81eb25d2: Pull complete 
90e0f6cfaaf0: Pull complete 
26aabecec6f9: Pull complete 
6fd00b1d893c: Pull complete 
0cb6ee14c821: Pull complete 
1e2671cdcd28: Pull complete 
b042894dcb07: Pull complete 
aba11ddc9a56: Pull complete 
96abeb6229d1: Pull complete 
f56bae12be27: Pull complete 
Digest: sha256:056f66a8cc4dfd15fd6d6999f3a8a80756fd41b8e6d19c8cf1b23191de961123
Status: Downloaded newer image for linuxserver/webtop:latest
docker.io/linuxserver/webtop:latest

Step 4: Check the Docker image by using the below command

[root@linuxhelp ~]# docker images
REPOSITORY           TAG       IMAGE ID       CREATED         SIZE
linuxserver/webtop   latest    0f4c0d665437   9 hours ago     1.19GB
hello-world          latest    feb5d9fea6a5   10 months ago   13.3kB

Step 5: Run the webtop container in depreciated mode with port 3000 mapping with host system by using the below command

[root@linuxhelp ~]# docker run -dp 3000:3000 linuxserver/webtop
5aeedda90661a73982eea4220012084554e74316ff69bc715fb7aec4de2a9e61

Step 6: This is the Home page of Webtop GUI

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to launch Webtop GUI by using Docker image on Rocky Linux 8.6. Your feedback is much welcome.

Tag : GUI Docker Linux
FAQ
Q
What is the default port of the Webtop?
A
The default port of the webtop is 3000.
Q
How to reset the Webtop password?
A
To reset the Webtop password use the command "docker exec -it webtop passwd abc"
Q
How to view logs of the Containers?
A
To view logs of the Containers with the command "docker logs -f "
Q
What are the officially supported flavors accessible via any modern web browser by Webtop?
A
The officially supported flavors accessible via any modern web browser by Webtops are Alpine, Ubuntu, Fedora, and Arch-based container.
Q
How to pull images from Docker Hub?
A
Pull images from Docker Hub using the command "docker pull "