Update example to use newer Ubuntu LTS

Fixes #11252 

I've tested running the Dockerfile with the updated ubuntu LTS (20.04) and the example still works.
This commit is contained in:
Aðalsteinn Rúnarsson 2020-08-28 14:36:15 +00:00 committed by GitHub
parent 270087d9ad
commit a30853c08a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ quick access to a test container. Make the following substitutions:
- With `RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config`, use `without-password` instead of `prohibit-password` for Ubuntu 14.04.
```dockerfile
FROM ubuntu:16.04
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd