mirror of https://github.com/docker/docs.git
Merge branch 'patch-1' of git://github.com/gsantandrea/docker.github.io into gsantandrea-patch-1
This commit is contained in:
commit
14bfbb264a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue