Admiral is a highly scalable and very lightweight Container Management platform for deploying and managing container based applications. It is designed to have a small footprint and boot extremely quickly. Admiral is intended to provide automated deployment and lifecycle management of containers.

Rule-based resource management - Setup your deployment preferences to let Admiral manage container placement. Live state updates - Provides a live view of your system. Efficient multi-container template management - Enables logical multi-container application deployments.

Okay, that’s the description by VMware - let’s give it a try on my MacBook…

Docker for Mac

At first i installed the new Docker for Mac App which was super easy to install. You can find Informations here at docker.com. Setup is very easy and described step-by-step. After successfull installation you have a Docker Icon and direct access to settings via MacOS status bar.

Fig 1. Docker App in MacOS status menu

As my MacOS is now a Dockerhost by itself i still wanted to have a Dockerhost to be managed by VMware Admiral. On my MacOS Docker installation i will deploy the Admiral Container to manage the created Dockerhost mydocker.

Fig 2. docker-machine create command

Via Terminal docker-machine create --driver vmwarefusion mydocker i created a new Docker Host called mydocker.

Fig 3. docker-machine inspect

The command docker-machine inspect mydocker gives you some necessary informations about that docker host.

VMware Admiral

As stated above VMware Admiral is a Container Management platform to manage Docker Hosts.

Fig 4. docker run Admiral

Let’s deploy the container to my local MacOS via docker run -d -p 8282:8282 --name admiral vmware/admiral.

Fig 5. Admiral Start screen

Let’s have a look at http://localhost:8282 to see what happens. We can see a Welcome Page with the possibility to Add a Host directly.

Fig 6. Add Host

To enter a Docker host to be managed by Admiral we need the following informations:

  • IP / Host name : IP address of the Docker host with port 2376
  • Login credential : i used the certificates for authentication and used cert.pem as Public Certificate and key.pem as the Private Key. Both files are located in the docker machines directory; in my case /Users/cklose/.docker/machine/machines/mydocker/

  • Resource pool : as this is also mandatory to configure i used the existing default-resource-pool.

  • Deployment policy

  • Custom properties

Click Verify to verify your config and then Add the add the Host to Admiral management.

Fig 7. mydocker Host und Hosts view

Hosts shows you all configured Hosts and allows you to manage them.

Fig 8. Templates section

Templates is directly connected to Docker Hub so you can search and browse for solutions directly. For a quick test we deploy library/nginx to mydocker Host with a simple click on Provision.

Fig 9. Containers section

Switching to Containers we can see the newly created Container nginx-mcm956_21… the second Container admiral_agent is the agent running on the Docker host mydocker to communicate with the Management component.

Fig 10. Admiral agent on Docker host

With a simple click on the created nginx Container we get a lot of details like CPU and Memory usage as well as all configured Properties to this Container.

Summary

This was a quick and dirty test on my local MacBook but the setup and configuration was super easy and allows me to manage my Containers through a very responsive and easy Web Portal.

If you want to know more about Cloud Native Apps, Admiral, Harbor, VMware Integrated Containers and Docker please see the following Links.

Have some fun with Docker and VMware Admiral and your endless creativity!