Docker

Overview

Morpheus can provision Docker Hosts into any cloud, convert existing Hosts to Docker Hosts, or even make itself a Docker Host.

../../_images/add_docker.gif

Add a Docker Host to any cloud:

  1. Navigate to Infrastructure -> Hosts
  2. Click the +CONTAINER HOST button
  3. Select a container host type
../../_images/add_docker.png
  1. Select a Group
../../_images/select_group.png
  1. Enter the following:
  • Name
  • Description
  • Visibility
  • Select a Cloud
  • Enter tags (optional)

Then click NEXT.

../../_images/create_host.png
  1. Configure the host options
Select a Service Plan (Volume, Memory and CPU count fields may not be shown if selected service plan does not have custom options enabled).
  • Add and set size the volumes
  • Set memory size
  • Set the CPU count
  • Select a network
Optionally configure the following:
  • OS username
  • OS password
  • Domain name
  • Hostname (default is the name previously provided for the container host)

Then click the NEXT button

../../_images/create_host_2.png
  1. Optionally add any Automation Workflows and configure for Backups.
../../_images/docker_host_automation.png
  1. Review and click Complete to save
../../_images/save_docker_host.png

Your new container host will begin provisioning, and soon be running and ready for containers.

Add an existing Docker Host

Morpheus can manage and inventory existing/brownfield Docker Hosts by using the Manual Docker Host option.

Note

Adding a Docker Host that was previously managed by another Morpheus Appliance will disable management of the host on that Appliance as the Morpheus Agent settings will be reconfigured.

Note

Container Mode on the Cloud settings where the Host is being added must be set to Morpheus for non-Kubernetes/Swarm hosts.

  1. Navigate to Infrastructure -> Hosts

  2. Select +CONTAINER HOST button

  3. Select Manual Docker Host

  4. In the CREATE HOST Wizard, enter the following:

    GROUP

    GROUP

    Select the Group this Host will be available for

    Select NEXT

    NAME

    CLOUD

    Select the Cloud the Host will be assigned to

    NAME

    Enter name for the Docker Host in Morpheus

    DESCRIPTION

    Enter optional description for the Docker Host

    VISIBILITY

    Select Tenant Visibility

    TAGS

    Add optional Morpheus tags (these are not meta-data tags)

    Select NEXT

    CONFIGURE

    SSH HOST

    Enter IP or resolvable hostname of the target host

    SSH USER

    Enter existing username on the target host

    SSH PASSWORD

    Enter password for SSH User

    PUBLIC KEY

    For key auth (recommended), copy and add the displayed Public Key to the authorized_keys file on the target host.

    PLAN

    Default Manual

    LVM ENABLED?

    Deselect if target host is not LVM enabled (required when using Morpheus provided docker images)

    DATA VOLUME

    Enter path of the target data volume on the target host

    SOFTWARE RAID?

    Enable for software RAID (disabled by default)

    NET INTERFACE

    Enter network interface name of target host’s target network

    Select NEXT

    AUTOMATION

    POST PROVISION

    Select a workflow to execute after Host is added (optional).

    Select NEXT

    REVIEW

    Review settings and select COMPLETE to add the Manual Docker Host.

Your new container host will begin provisioning, and soon be running and ready for containers.

Note

Existing containers will be inventoried after the Hosts is successfully added.