# Node run command

**URL:** <https://forum.storj.io/t/node-run-command/8988>\
**Category:** troubleshooting\
**Tags:** docker\
**Created:** [September 7, 2020, 3:55am UTC](https://forum.storj.io/t/node-run-command/8988 "2020-09-07T03:55:23Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [October 5, 2020, 7:24am UTC](https://forum.storj.io/t/node-run-command/8988/21 "2020-10-05T07:24:49Z")

</div>

Show your docker run command and put it inside three ticks ```

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [October 5, 2020, 7:32am UTC](https://forum.storj.io/t/node-run-command/8988/22 "2020-10-05T07:32:24Z")

</div>

It is this one:

> [@Alexey](#):
>
> ```auto
> docker run -d --restart unless-stopped -p 28967:28967 \
> -p 14002:14002 \
> -e WALLET="" \
> -e EMAIL="" \
> -e ADDRESS="" \
> -e BANDWIDTH="TB" \
> -e STORAGE="TB" \
> --log-driver local \ 
> --log-opt mode=non-blocking \ 
> --log-opt max-size=100m \ 
> --log-opt max-file=4 \
> --mount type=bind,source="/home/storagenode",destination=/app/identity \
> --mount type=bind,source="/mnt/storj",destination=/app/config \
> --name storagenode storjlabs/storagenode:latest
> 
> ```

Error is: docker: invalid reference format.  
See ‘docker run --help’.  
bash: line 9: --log-opt: command not found  
bash: line 10: --log-opt: command not found  
bash: line 11: --log-opt: command not found

docker version: version: 19.03.13

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 5, 2020, 7:37am UTC](https://forum.storj.io/t/node-run-command/8988/23 "2020-10-05T07:37:49Z")

</div>

This could be, if you either:

- uses curly quotes
- uses hyphens instead of double dashes `--`
- missed a backslash at the end of the line (after `-e STORAGE="TB"`)

Could you show a screenshot?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [October 5, 2020, 8:18am UTC](https://forum.storj.io/t/node-run-command/8988/24 "2020-10-05T08:18:47Z")

</div>

It is nothing like that. When I remove the log lines, the run command woks perfectly. So the issue is only the log commands.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 5, 2020, 8:51am UTC](https://forum.storj.io/t/node-run-command/8988/25 "2020-10-05T08:51:57Z")

</div>

No, they are not.  
But your `docker run` command is malformed somehow.  
Could you please, post a screenshot with actual `docker run` command (you can blur the private information)

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [October 5, 2020, 9:13am UTC](https://forum.storj.io/t/node-run-command/8988/26 "2020-10-05T09:13:03Z")

</div>

> [@Alexey](#):
>
> Could you please, post a screenshot with actual `docker run` command

 ![2020-10-05_111121](https://storj-s3.bcdn.literatehosting.net/original/2X/8/834a832b6bb44289538404813d56ec6f6765597b.png)

---

<div class="post-metadata">

**Author:** ![peem](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/peem/32/6323_2.png) [@peem](https://forum.storj.io/u/peem)\
**Post date:** [October 5, 2020, 10:28am UTC](https://forum.storj.io/t/node-run-command/8988/27 "2020-10-05T10:28:42Z")

</div>

on the lines “- log …” AFTER the slash \ you have a space (the slash should be the last character on the line)

![Zrzut ekranu z 2020-10-05 12-43-43](https://lc-storj.ams3.digitaloceanspaces.com/original/2X/8/80eb134ae6614bb9ce827906fa4c6caa980c0dc4.png)

możesz dać całą komendę w jednym “ciągu”

```
docker run -d --restart unless-stopped -p 28967:28967 -p 14002:14002 -e WALLET="" -e EMAIL="" -e ADDRESS="" -e BANDWIDTH="TB" -e STORAGE="TB" --log-driver local --log-opt mode=non-blocking --log-opt max-size=100m --log-opt max-file=4 --mount type=bind,source="/home/storagenode",destination=/app/identity --mount type=bind,source="/mnt/storj",destination=/app/config --name storagenode storjlabs/storagenode:latest

```

fill in with your details (in quotes)

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [October 5, 2020, 10:44am UTC](https://forum.storj.io/t/node-run-command/8988/28 "2020-10-05T10:44:32Z")

</div>

Cant believe it. It seems to work now.

Many thanks. 😍 🤩 😍

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [October 5, 2020, 10:54am UTC](https://forum.storj.io/t/node-run-command/8988/29 "2020-10-05T10:54:32Z")

</div>

> [@jammerdan](#):
>
> Cant believe it.

This is why when someone asks to post docker run command you should do it. You never know when you have made a silly mistake.

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [October 5, 2020, 10:58am UTC](https://forum.storj.io/t/node-run-command/8988/30 "2020-10-05T10:58:17Z")

</div>

I just checked and spaces have been in the command that has been posted before already:

> [@Node run command](https://forum.storj.io/t/node-run-command/8988/22):
>
> It is this one: Error is: docker: invalid reference format. See ‘docker run --help’. bash: line 9: --log-opt: command not found bash: line 10: --log-opt: command not found bash: line 11: --log-opt: command not found docker version: version: 19.03.13

I had just copied and pasted that one.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 5, 2020, 6:53pm UTC](https://forum.storj.io/t/node-run-command/8988/31 "2020-10-05T18:53:35Z")

</div>

I’m too 🙂

[Previous page](https://forum.storj.io/t/node-run-command/8988.md?page=1)
