diff --git a/rails/getting-started/dockerfiles.html.md b/rails/getting-started/dockerfiles.html.md index c8584271ef..e3cd005bb3 100644 --- a/rails/getting-started/dockerfiles.html.md +++ b/rails/getting-started/dockerfiles.html.md @@ -27,6 +27,10 @@ to do is rerun the generator: bin/rails generate dockerfile ``` +
+If you get a `Could not find generator 'dockerfile'.` error, your app predates the `dockerfile-rails` gem. Add [dockerfile-rails](https://github.com/rubys/dockerfile-rails) to your Gemfile and run `bundle install` first. +
+ The generator will remember the options you selected before (these are stored in `config/dockerfile.yml`). If you need to change a boolean option, add or remove a `no-` prefix before the option name.