Free Dockhand Tool Simplifies Docker Container Management

Sedang Trending 5 hari yang lalu

Do you person excessively galore Docker containers running? A speedy cheque of my location laboratory and connected conscionable a azygous server, I person 10 moving Docker containers. How do I negociate them, fto unsocial conscionable support way of what’s what?

I could deploy Portainer, but that’s overkill astatine this point. Besides, Portainer is much an endeavor app now, truthful utilizing it connected a location lab, a improvement environment, aliases a mini business conscionable isn’t really each that practical.

That’s wherever an app for illustration Dockhand comes into play.

Dockhand is simply a powerful and easy-to-use instrumentality manager/monitor that is free to usage for location labs, and I person recovered it indispensable for keeping tabs connected my containers. With Dockhand, I tin position logs, entree nan shell, position stacks, images, volumes, networks, registries, activities, and schedules. I tin stop, pause, restart, edit, and delete containers, create wellness checks, cheque for and use updates and truthful overmuch more.

You tin moreover create and deploy containers!

Once you commencement utilizing Dockhand, you’ll wonderment really you sewage on without it. In fact, I find I tin really do much pinch my Docker containers erstwhile utilizing Dockhand than without. This app conscionable simplifies everything.

But really do you deploy and usage Dockhand?

Easily, that’s how.

Let maine show you.

Deploying Dockhand

It should spell without saying that you request a level that supports Docker. You’ll besides request immoderate moving containers, which I presume you already have; otherwise, why would you request a level for which to show them?

Deploying Dockhand is arsenic elemental arsenic moving this azygous bid connected your hosting platform:

Give nan instrumentality a infinitesimal to rotation up. After a mates of minutes person passed, unfastened a web browser and constituent it to http://SERVER:3000 (where SERVER is nan IP reside of your hosting server). You should beryllium presented pinch an quiet dashboard. What we request to do adjacent is configure your first environment.

Adding an Environment

We’ll first adhd our section environment. To do this, “Add environment” from nan Dashboard (Figure 1).

Figure 1: Your Dockhand dashboard gives you speedy entree to your environments and different features.

In nan resulting pop-up (Figure 2), each you person to do is springiness nan situation a sanction and click Add.

Figure 2: We’re adding a section situation here.

Once you’ve added nan environment, you should spot it look successful nan Dashboard.

Using nan Dashboard

Click connected nan Dashboard icon successful nan broadside sheet and past click connected nan situation you conscionable created. What you should spot now is simply a listing of each Docker work moving (Figure 3).

Figure 3: I person respective containers running.

Let’s opportunity you want to create a caller instrumentality successful this section environment. For that, click Create astatine nan top. In nan resulting pop-up (Figure 4), type nan sanction of nan image you want to propulsion and click Pull.

Figure 4: If you haven’t already pulled an image, you’ll request to do truthful here.

I’m going to propulsion nan latest Vaultwarden image (vaultwarden/server:latest). Once that’s taken attraction of, Dockhand will automatically move you to nan Container tab, wherever you tin commencement building your caller instrumentality (Figure 5).

Figure 5: We’re going to deploy a Vaultwarden container.

The accusation you’ll request is arsenic follows:

  • Name: vaultwarden
  • Volume mapings: hostpath – /vw-data/ and instrumentality way – :/data/
  • Ports: Host – 443 Container – 443 (you person to usage SSL for Vaultwarden)

Of course, you’ll request to capable that retired according to your needs. Also, support in

When you’ve vanished filling retired nan basal accusation for your instrumentality and click “Create container.” Your instrumentality should beryllium listed arsenic running.

It really is that simple.

Troubleshooting a Container

Let’s opportunity you person a instrumentality that’s giving you fits. What tin you do? With nan thief of Dockhand, you tin troubleshoot.

For example, I person a GitLab instrumentality that has failed. To find retired what’s going on, click nan offending instrumentality from wrong nan database of Containers, and you’ll spot a Logs tab. Click that tab to uncover immoderate accusation that’s been logged (Figure 6).

Figure 6: My Gitlab instrumentality isn’t behaving.

The log will beryllium group to autoscroll. I find downloading nan log record makes it overmuch easier to comb through. To do that, click nan downward-pointing arrow adjacent nan upper-right area (Figure 7).

Figure 7: The moving log of my failing Gitlab container.

The log will beryllium a .txt file, which you tin unfastened connected your instrumentality and look done it to troubleshoot nan container. Of course, you’ll request to cognize really to publication a Docker log record to get nan astir retired of this feature.

You tin besides look astatine nan overview tab, which will springiness you immoderate correction codes. In my case, I spot exit codification 137, which indicates that a instrumentality was terminated owed to an out-of-memory (OOM) information aliases received a termination signal

Getting closer.

As you tin see, Dockhand is incredibly useful to person around. If you’re looking for an easy measurement to negociate your containers, I highly urge springiness this strategy a effort and spot if it doesn’t simplify managing nan moving containers connected your location laboratory aliases mini business.

YOUTUBE.COM/THENEWSTACK

Tech moves fast, don't miss an episode. Subscribe to our YouTube channel to watercourse each our podcasts, interviews, demos, and more.

Group Created pinch Sketch.

Selengkapnya