
Once you update your Dockerfile, you can build and run it using the commands below.

&nbsp;

### Step 1: Build your dockerfile

Build your docker image

```bash
docker build -t <your-image-name> .
```

- `<your-image-name>` is the name of your Docker Image

&nbsp;

### Step 2: Run your docker image

```bash
docker run <your-image-name>
```

&nbsp;

If you encounter any difficulties, please consult the [troubleshooting section](https://signoz.io/docs/instrumentation/java/#troubleshooting-your-installation) for assistance.

