# Issue with Relayer in docker

**URL:** <https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158>\
**Category:** Week 1\
**Created:** [October 19, 2022, 2:35pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158 "2022-10-19T14:35:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SerGo](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@SerGo](https://forum.bifrostnetwork.com/u/SerGo)\
**Post date:** [October 19, 2022, 2:35pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158/1 "2022-10-19T14:35:37Z")

</div>

Issue with Relayer in docker with latest instruction.

```auto
Step 7/7 : ENTRYPOINT python relayer-launcher.py launch -k $PRIVATE_KEY
 ---> Running in 9fda60ff925e
Removing intermediate container 9fda60ff925e
 ---> 5a17df46e2f0
Successfully built 5a17df46e2f0
Successfully tagged bifrost-relayer:latest
bifrost@mer:~/bifrost-relayer$ docker run -d --name relayer bifrost-relayer
af708bc93f5ff51b20dfb15f3c56bdf737f21abb49bb7449cbf3680e716b2b2e
bifrost@mer:~/bifrost-relayer$ docker logs -f relayer
usage: relayer-launcher.py [-h] [-p PASSWORD] [-s PEM] [-k EXISTINGKEY]
                           [-a ANALYZE]
                           command
relayer-launcher.py: error: argument -k/--existingKey: expected one argument

```

---

<div class="post-metadata">

**Author:** ![ulad\_proto](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/ulad_proto/32/84_2.png) [@ulad\_proto](https://forum.bifrostnetwork.com/u/ulad_proto)\
**Post date:** [October 19, 2022, 3:00pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158/2 "2022-10-19T15:00:29Z")

</div>

Hey, open Dockerfile and add needed key here

---

<div class="post-metadata">

**Author:** ![SerGo](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@SerGo](https://forum.bifrostnetwork.com/u/SerGo)\
**Post date:** [October 19, 2022, 3:23pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158/3 "2022-10-19T15:23:54Z")

</div>

I have key in Docker now(it’s not mentioned in documentation) and have it in command next after build  
docker run -d --name relayer --network host -e PRIVATE\_KEY=HERE\_MY\_PRIVATE\_KEY bifrost-relayer

```auto

9edb360e26c7b54adf39180f0b95cdbe8ae66b9aee9c5257633b003c73aa79db
bifrost@mer:~/bifrost-relayer$ docker logs -f relayer
Traceback (most recent call last):
  File "relayer-launcher.py", line 105, in <module>
    main(config)
  File "relayer-launcher.py", line 68, in main
    relayer = Relayer.init_from_config_files(
  File "/app/relayer/relayer.py", line 59, in init_from_config_files
    private_config_dict = json.load(f)
  File "/usr/local/lib/python3.8/json/ __init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/local/lib/python3.8/json/ __init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

```

---

<div class="post-metadata">

**Author:** ![dnjscksdn98](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/dnjscksdn98/32/141_2.png) [@dnjscksdn98](https://forum.bifrostnetwork.com/u/dnjscksdn98)\
**Post date:** [October 20, 2022, 12:11pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158/4 "2022-10-20T12:11:34Z")

</div>

Please remove the comments in the first line of your configuration file. We have updated our manual and more details or on this page. Thanks

> **[Configuration](https://docs.thebifrost.io/bifrost-network/running-a-node/setting-up-a-relayer/configuration)**

---

<div class="post-metadata">

**Author:** ![SerGo](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@SerGo](https://forum.bifrostnetwork.com/u/SerGo)\
**Post date:** [October 20, 2022, 1:02pm UTC](https://forum.bifrostnetwork.com/t/issue-with-relayer-in-docker/158/5 "2022-10-20T13:02:25Z")

</div>

Yeah, it was the solution, forgot to update it here.  
Thank you.
