Mark3 released v1.0.0

Docker Jun 25, 2021

Version 1.0.0 marks the first stable release of Mark3 - a lightweight web-based user interface for management of Docker containers.

Released on the 17th of June, this release adds presets for creating new containers, many UX improvements, improved log parsing performance and better stability.

1.0.0 release
Screenshot of the 1.0.0 release post 

How to deploy it ?

You can get started with Mark3 very fast as you only need Docker installed on your system.

docker pull aljaxus/mark3
Command for pulling the aljaxus/mark3:latest docker image
[[email protected] ~]# docker pull aljaxus/mark3
Using default tag: latest
latest: Pulling from aljaxus/mark3
5843afab3874: Pull complete
3dbfa4fa076f: Pull complete
d804a6118863: Pull complete
c91eb129a807: Pull complete
01535f63534e: Pull complete
Digest: sha256:e35ffea5132f054a65ce238e9712702ad5d59414a798d22dff9f11cb22c6dcfc
Status: Downloaded newer image for aljaxus/mark3:latest
docker.io/aljaxus/mark3:latest
[[email protected] ~]#

Exposing this service to any non-private networks exposes raw docker API and super-user access to the host machine hence binding the service to the loopback interface and using an ssh-tunnel for accessing it.

docker run -d --restart unless-stopped -p 127.0.0.1:2222:80 -v /var/run/docker.sock:/var/run/docker.sock aljaxus/mark3:latest
Command for starting the container
[[email protected] ~]# docker run -d --restart unless-stopped -p 127.0.0.1:2222:80 -v /var/run/docker.sock:/var/run/docker.sock aljaxus/mark3:latest
08bbc2131e0537d90679f4c7ae6056bc5b039aae755860d3e3f042348b40476f
[[email protected] ~]#


Now that the container is running, connect to system that you're running this container on via SSH and create an ssh-tunnel to port 2222 on its loopback interface

ssh [email protected] -N -L 2222:localhost:2222
Create an ssh-tunnel

With that out of the way open http://localhost:2222 in your browser and you will be greeted with the following

Mark3 web UI

Now you can monitor and manage all running containers on your system. If the container has the --interactive option enabled you can also interact with it via the terminal, else you can only read the logs.


Container creation

Creating a new container is also very simple - at the moment only the "raw mode" is supported, requiring the user to provide the full container configuration in JSON form, the exact configuration that is then passed to the Docker engine API.

As you can see in the bottom there are - at the moment only four - already configured presets which need minimal to no additional configuration. The only thing you would have to change are port bindings in case you are deploying multiple containers that are by default bound to the same external port.

An example of such case would be presets for phpMyAdmin and Wordpress


The Mark3 project is free to use and open for collaboration and suggestions, so feel free to open an issue if you think anything should be added, changed or removed.

Tags

Aljaz S.

I am a student and a web developer

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.