Merge branch 'patch-1' of git://github.com/gsantandrea/docker.github.io into gsantandrea-patch-1

This commit is contained in:
Maria Bermudez 2019-03-12 17:54:21 -07:00
commit 14bfbb264a
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,8 @@ quick access to a test container.
__Note: Replace "THEPASSWORDYOUCREATED" with the password that you created in the previous step.__
> *** NOTE: *** For Ubuntu 14.04, use `without-password` instead of `prohibit-password`.
```Dockerfile
FROM ubuntu:16.04
@ -36,6 +38,7 @@ EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
```
Build the image using:
```bash