Simple Docker Management


SSD

Recommended Posts

Sometimes the simplest ideas are the best.

 

I have four Dockers that I use frequently, and often have them open in my browser. Each one taking a tab. I just click on the tab that I want to bring up its Web Interface to do something.

 

But it occurred to me it would be nice to have one tab that contains all of those Web Interfaces in four rectangles (upper right, upper left, lower right, lower left). Means three fewer tabs and I frequently am using them in combination, so very handy to be able to just move the mouse to the one I want to control. And less hunting for the one I want.

 

So I created a very basic .html file that I call quad.html, that creates 4 frames on the screen. Each frame contains a Docker management interface.

 

The webpages seem to size nicely into these frames, and are big enough to be useful without a log of scrolling and sliding. YMMV.

 

quad.html

<!DOCTYPE html>
<html>
<FRAMESET cols="100%" rows="50%,50%" >
  <FRAMESET cols="50%,50%" rows="100%">
      <FRAME src="http://192.168.1.199:1111">
      <FRAME src="http://192.168.1.199:2222">    
</FRAMESET>
<FRAMESET cols="50%,50%" rows="100%">
      <FRAME src="http://192.168.1.199:3333">
      <FRAME src="http://192.168.1.199:4444">    
</FRAMESET>
</html>

Just copy and paste the above into notepad and edit the "src" tags to refer to the URLs for your Dockers, Call it whatever you want with an 'html extension. 

 

Double click on the file in Explorer, and voila - it opens in your browser with all four Docker WebGuis in one convenient Window.

 

You can adjust the frame borders to create different sized windows, which the web pages will resize to. Using the tags in the html file, you can hard code the widths and heights as desired.

 

If your eyes are better than mine, you could make 6, 9, 16, whatever frames. But for me 4 is enough to make my life just a little easier.

 

Enjoy your arrays!

  • Upvote 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.