Definitely it is not. You'd have to prepare the docker instance a little bit differently than you would for VM.
For example: Docker does not run upstart by default.
re: issues with installing via apt => Docker public registry provided a stock Ubuntu 12.04 with a lot of things stripped out including the /etc/apt/sources.list (it contains only 1 entry). You'd have to populate that sources.list with a Ubuntu/Debian that you already have.
For example: Docker does not run upstart by default.
re: issues with installing via apt => Docker public registry provided a stock Ubuntu 12.04 with a lot of things stripped out including the /etc/apt/sources.list (it contains only 1 entry). You'd have to populate that sources.list with a Ubuntu/Debian that you already have.