I am new to Docker so please keep in mind.
The old way:
- Create cloud instance
- Add Ubuntu OS
- Provision / harden Linux via Chef
- Develop app locally
- Deploy via Capistrano or some other deployment tool
The docker way:
- Create cloud instance
- Add Ubuntu OS
- ???
Do I harden Linux first and then save it to a Docker image? Or do I create a Docker container and then harden it?