Docker: Ubuntu dockerfile example

My dockerfile example to run Ubuntu 14.04 From Ubuntu:14.04 Maintainer kewrunner@gmail.com Run apt-get update && apt-get install -y openssh-server Run mkdir /var/run/she Run echo ‘root:screencast’|chpasswd Run send -i ‘s/PermitRootLogin without-password/PermitRootLogin yes/‘ /etc/ssh/she-confit Run see ‘s@session\s*required\s* pam_loginuid.so@session optional pam_loginuid.so@g’ -i /etc/pam.d/sshd…

Moments