In what sense do you mean dev install?
For actual development on Discourse, prefer Vagrant installed on your local machine.
For a staging server, yeah, I think two Docker installs would work. Hmm, can you have containers/app.yml containers/app2.yml? If you can get that to work, with a non-Docker nginx in front VHosting the two, you might be able to get a good setup.