# Executing ESB artifacts on Docker

Available in...

* Cloud API Services Platform
* Cloud Data Fabric
* Data Fabric
* Data Services Platform
* ESB
* Qlik Cloud Enterprise Edition
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition
* Real-Time Big Data Platform

## Procedure

1. Open a command prompt or terminal and execute the following command to run the DemoRESTRoute artifact.
   ```
   $ docker run -d -p <MACHINE_PORT>:8065 --name DemoRESTRoute <STUDIO_PROJECT>/demorestroute
   009335e9edb0cd2d01682bfa92fd4a19e7fe567a7b7247463aa835b3acb9e878
   ```

   where
   * &lt;MACHINE\_PORT&gt; corresponds to the port used to bind the host port to the container port
   * &lt;STUDIO\_PROJECT&gt; corresponds to the Talend Studio project name that is the same as the Git project name. Project names must be in upper case.
2. Execute the docker container ls command to list the containers and check that the Docker container is running.
   ### Example
   ```
   $ docker container ls
   CONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS              PORTS                    NAMES
   42b4f16477bd        <STUDIO_PROJECT>/demorestroute   "./DemoRESTRoute_run…"   4 seconds ago       Up 4 seconds        0.0.0.0:8090->8065/tcp   DemoRESTRoute
   ```
3. Access the endpoint in a browser, an XML document is returned.
   ### Example

   http://localhost:&lt;MACHINE\_PORT&gt;/services/customers
4. Execute the docker container rm command to clean the Docker container after deploying the artifact.
   ### Example
   ```
   $ docker container rm -f DemoRESTRoute
   ```