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.
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.
docker-machine create --driver vmwarefusion mydocker i created a new Docker Host called mydocker.
docker-machine inspect mydocker gives you some necessary informations about that docker host.
As stated above VMware Admiral is a Container Management platform to manage Docker Hosts.
Let’s deploy the container to my local MacOS via
docker run -d -p 8282:8282 --name admiral vmware/admiral.
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.
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.
- Custom properties
Click Verify to verify your config and then Add the add the Host to Admiral management.
Hosts shows you all configured Hosts and allows you to manage them.
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.
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.
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.
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.
think-v > Cloud-Native Apps : This Blog by my colleague Bjoern gives you all Informations you need if you think about Cloud Native Apps
Have some fun with Docker and VMware Admiral and your endless creativity!