# docker env vars. We use them if nothing is supplied.
            DOCKER_HOST=fqdn:port
            DOCKER_TLS_VERIFY=false
            DOCKER_CERT_PATH=/path/

def _create_container_ship(self, host_data=None):
        """
            # docker env vars. We use them if nothing is supplied.
            DOCKER_HOST=fqdn:port
            DOCKER_TLS_VERIFY=false
            DOCKER_CERT_PATH=/path/
        """
        if not host_data:
            host_data = {}
            path = os.getenv('DOCKER_CERT_PATH')
            host_data['address'] = os.getenv('DOCKER_HOST')

            if not host_data:
                raise LookupError(
                    logger.error("Unable to find docker ENV var: DOCKER_HOST, DOCKER_CERT_PATH, and DOCKER_TLS_VERIFY are required.")
                )

            if not host_data.get('address'):
                raise LookupError(logger.error("Unable to find a value for DOCKER_HOST."))

            if 'tcp://' in host_data['address']:
                host_data['address'] = host_data['address'].replace('tcp://', 'https://')

            host_data['ssl_cert_path'] = os.path.realpath(path)
            host_data['verify']        = os.getenv('DOCKER_TLS_VERIFY')

            if host_data['verify'] == 'yes':
                host_data['verify'] = True
            elif host_data['verify'] == 'no':
                host_data['verify'] = False

        return ContainerShip(
            host_data.get('address'),
            services=host_data.get('services'),
            ssl_cert_path=host_data.get('ssl_cert_path'),
            verify=host_data.get('verify')
        )