> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/quick-start-duplocloud-docker-services/step-5-create-app-via-docker-native.md). Agents can also search and read this documentation through its [MCP server](https://docs.duplocloud.com/docs/~gitbook/mcp).

# Step 5: Create a Service

Create a native Docker Service in the DuploCloud Portal

You can use the DuploCloud Portal to create a native Docker service without leaving the DuploCloud interface.

*Estimated time to complete Step 5: 10 minutes.*

## Prerequisites

Before creating a Service, verify that you completed the tasks in the previous tutorial steps. Using the DuploCloud Portal, confirm that:

* An [Infrastructure and Plan](https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/step-1-infrastructure.md) exist, both named **NONPROD**.
* A Tenant named [**dev01** has been created](https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/step-2-tenant.md).
* An EC2 Host named [host01 has been created](https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/quick-start-duplocloud-docker-services/step-4-create-ec2-host.md).

## Creating a Service with Native Docker

1. In the **Tenant** list box, select **dev01**.
2. Navigate to **Docker** -> **Services.**
3. Click **Add**. The **Add Service** **Basic Options** page displays.
4. In the **Service Name** field, enter `demo-service-d01`.
5. From the **Platform** list box, select **Linux/Docker Native**.
6. In the **Docker Image** field, enter `duplocloud/nodejs-hello:latest`.
7. From the **Docker Networks** list box, select **Docker Default**.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FYljg4qjG81I63kUNbP70%2FScreenshot%20(122).png?alt=media&amp;token=ae87fef1-66b2-433a-ab43-cb0b2c56fb08" alt=""><figcaption><p>The <strong>Add Service</strong> page</p></figcaption></figure>
8. Click **Next**. The **Advanced Options** page displays.
9. Click **Create**.

{% hint style="info" %}
On the Add Service page, you can also specify optional **Environment Variables** (EVs) such as databases, Hosts, ports, etc. You can also pass [Docker credentials](https://docs.duplocloud.com/docs/automation-platform/overview/aws-services/containers/docker-registry-credentials.md) using EVs for testing purposes.
{% endhint %}

## Checking Your Work

1. In the **Tenant** list box, select **dev01**.
2. Navigate to **Docker** -> **Services.**
3. In the **NAME** column, select **demo-service-d01.**
4. Check the **Current** column to verify that **demo-service-d01** has a status of **Running**.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FqcL21Fx0hdaKyzxxTk2I%2FNEWSERVICES.png?alt=media&amp;token=98500781-514c-4336-a9df-38a7fba5a345" alt=""><figcaption><p>The <strong>demo-service-d01</strong> Service details page displaying a <strong>Running</strong> status</p></figcaption></figure>

{% hint style="info" %}
Once the Service is **Running**, you can check the logs for additional information. On the **Services** page, select the **Containers** tab, click the menu icon ( <img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FiNwYVMf4fky7ZPl41t38%2FKabab_three_Vertical_dots.png?alt=media&amp;token=566b1d4e-a9bc-43c8-995a-044ceab9f38b" alt="" data-size="line"> ) next to the container name, and select **Logs**.
{% endhint %}

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FVdaKJywwMr4qsor6Pm7U%2FNEWSERVICES.png?alt=media&amp;token=db8b167b-fc64-4e21-9347-9d12c532fae6" alt=""><figcaption><p>The details page for <strong>demo-service-d01-1</strong></p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview/quick-start/quick-start-duplocloud-docker-services/step-5-create-app-via-docker-native.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
