Interesting… I was under the impression that the Docker image used Ruby 2.1 but I see now that there are multiple images.
I am doing production Discourse but without Docker - using that with our setup is rather complicated to say the least.
The environment (Puppet-configured) was Ubuntu 12.04, Ruby 2.0.0 installed via RVM (it was 2.0.0-p645 I think), Postgresql 9.3 from apt.postgresql.org, jemalloc. The only thing I changed to make the error go away was asking RVM to install Ruby 2.1.