Fix #1330 and #1149. Improve CMD, ENTRYPOINT, and attach docs.
Merge pull request #1596 from metalivedev/1149-easyfixes

Fix #1330 and #1149. Improve CMD, ENTRYPOINT, and attach docs.