# \[Go\] Run Nakama without docker

**URL:** <https://forum.heroiclabs.com/t/go-run-nakama-without-docker/4142>\
**Category:** Local Setup\
**Created:** [July 26, 2023, 7:04pm UTC](https://forum.heroiclabs.com/t/go-run-nakama-without-docker/4142 "2023-07-26T19:04:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matiasvillanueva](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/matiasvillanueva/32/1287_2.png) [@matiasvillanueva](https://forum.heroiclabs.com/u/matiasvillanueva)\
**Post date:** [July 26, 2023, 7:04pm UTC](https://forum.heroiclabs.com/t/go-run-nakama-without-docker/4142/1 "2023-07-26T19:04:09Z")

</div>

Hi!

I am trying to run Nakama locally without Docker. But when I do it I do not see any of my custom RPCs declared on main.go. When I do use Docker, RPCs are there.

This is the command I am executing:

```auto
go build --trimpath --mod=vendor --buildmode=plugin -o .backend.so && ./bin/nakama migrate up --database.address 'postgres:localdb@localhost:5432/nakama?sslmode=disable' && exec ./bin/nakama --config ./local.yml --database.address 'postgres:localdb@localhost:5432/nakama?sslmode=disable'

```

Nakama starts, but no customs RPC are not displayed on the explorer.

For reference, this is my Dockerfile:

```auto
FROM heroiclabs/nakama-pluginbuilder:3.16.0 AS builder

ENV GO111MODULE on
ENV CGO_ENABLED 1

WORKDIR /backend
COPY . .

RUN go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so

FROM heroiclabs/nakama:3.16.0

COPY --from=builder /backend/backend.so /nakama/data/modules
COPY --from=builder /backend/local.yml /nakama/data/

```

The docker-compose.yml is the same that the guide. File /bin/nakama is 3.16.0 too (no version issues).

As I mentioned, Nakama is starting but custom RPCs are not being complied.

Thanks.

---

<div class="post-metadata">

**Author:** ![matiasvillanueva](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/matiasvillanueva/32/1287_2.png) [@matiasvillanueva](https://forum.heroiclabs.com/u/matiasvillanueva)\
**Post date:** [July 27, 2023, 1:28am UTC](https://forum.heroiclabs.com/t/go-run-nakama-without-docker/4142/2 "2023-07-27T01:28:30Z")

</div>

So building in the right folder fix it for me:

```auto
go build --trimpath --mod=vendor --buildmode=plugin -o data/modules/backend.so

```
