# NoMethodError on docker run

**URL:** <https://meta.discourse.org/t/nomethoderror-on-docker-run/60927>\
**Category:** Self-hosting\
**Created:** [April 13, 2017, 2:37pm UTC](https://meta.discourse.org/t/nomethoderror-on-docker-run/60927 "2017-04-13T14:37:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pmayer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmayer/32/121053_2.png) [@pmayer](https://meta.discourse.org/u/pmayer)\
**Post date:** [April 13, 2017, 2:37pm UTC](https://meta.discourse.org/t/nomethoderror-on-docker-run/60927/1 "2017-04-13T14:37:14Z")

</div>

Hi guys,

I must admit, that I’m not a docker guru… only doing baby steps. I’ve installed Discourse about a year ago for testing on a local server. But as you know, things for “testing” suddenly get addopted and used on a daily basis.  
Discourse is used for our local makerspace and I wanted do move the docker Image to new machine. Discourse itself got updates via the administrator webinterface.

So I first stopped the containter with `docker stop <container-id>` and then wanted to export the docker image. Just to be sure to not have broken something, I’ve tried to “start” the docker image again:

```
pm@mandark:~ docker run local_discourse/app:latest
From https://github.com/SamSaffron/pups
   2b8776d..7bde3d3 master -> origin/master
Updating 2b8776d..7bde3d3
Fast-forward
 README.md | 2 +-
 lib/pups/config.rb | 9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)
I, [2017-04-13T14:34:38.212099 #17] INFO -- : Loading --stdin
/pups/lib/pups/config.rb:23:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
	from /pups/lib/pups/cli.rb:27:in `new'
	from /pups/lib/pups/cli.rb:27:in `run'
	from /pups/bin/pups:8:in `<main>'

```

As the Image worked some minutes ago I’m not aware what to do now. Also I’m not sure if I used the `launcher` or not. When I try to `launcher start web` it will load a new discourse docker image from the web.

I’m using Ubuntu `16.04.2 LTS` with Docker version `17.04.0-ce, build 4845c56`.

Any help is appreciated.  
Thank you!

---

_[View the full topic](https://meta.discourse.org/t/nomethoderror-on-docker-run/60927)._
