# Docker Compose Invalid Option r on Gateway Restore

**URL:** <https://forum.inductiveautomation.com/t/docker-compose-invalid-option-r-on-gateway-restore/84959>\
**Category:** Ignition\
**Tags:** docker\
**Created:** [January 30, 2024, 3:17pm UTC](https://forum.inductiveautomation.com/t/docker-compose-invalid-option-r-on-gateway-restore/84959 "2024-01-30T15:17:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subin\_Adhikari](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Subin\_Adhikari](https://forum.inductiveautomation.com/u/Subin_Adhikari)\
**Post date:** [January 30, 2024, 3:17pm UTC](https://forum.inductiveautomation.com/t/docker-compose-invalid-option-r-on-gateway-restore/84959/1 "2024-01-30T15:17:28Z")

</div>

Gurus,  
is there something wrong with my docker-compose file?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/3/337ff4433c2bc878049ea3da03babea5b417b1c3.png)

r seems to be an invalid options as per logs.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/91a047a3ae2270f1fb669c39fe7f380002f5c43d.png)

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [January 30, 2024, 4:59pm UTC](https://forum.inductiveautomation.com/t/docker-compose-invalid-option-r-on-gateway-restore/84959/2 "2024-01-30T16:59:54Z")

</div>

You've got the syntax right, but that function wasn't added to the official image until 8.1.6. If you _must_ use that specific version in a Docker container, you could use my "unofficial" image, though note that the syntax/usage is slightly different.

[https://hub.docker.com/r/kcollins/ignition](https://hub.docker.com/r/kcollins/ignition)

> **[GitHub - thirdgen88/ignition-docker: Ignition Docker Community Image](https://github.com/thirdgen88/ignition-docker)**
>
> Ignition Docker Community Image. Contribute to thirdgen88/ignition-docker development by creating an account on GitHub.
