docker Image with Ubunut 16.04, Apache, Mysql, PHP7
124
Image is with Lamp stack and SSH server
Docker run -d -p 80:80 -p 443:443 -p 8000:8000 -p 8080:8080 -p 22:22 --name ubuntu16 paragk41086/sshlamp
SSH_user : root SSH_pass : password
mysql_secure_installation can be run default password : admin@123
Docker File to build image
FROM ubuntu:16.04 (Comment the lines with bold Letters)
MAINTAINER My Name "[email protected]"
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils RUN apt-get update && apt-get upgrade -y
RUN apt-get update && apt-get install -y openssh-server RUN mkdir /var/run/sshd RUN echo 'root:password' | chpasswd RUN sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/$
RUN sed 's@session\srequired\spam_loginuid.so@session optional pam_loginuid.s$
ENV NOTVISIBLE "in users profile" RUN echo "export VISIBLE=now" >> /etc/profile
EXPOSE 22
EXPOSE 80 EXPOSE 443 EXPOSE 8000 EXPOSE 8080 EXPOSE 3306 EXPOSE 3308
CMD ["/usr/sbin/sshd", "-D"]
Content type
Image
Digest
Size
183.6 MB
Last updated
about 8 years ago
docker pull paragk41086/sshlamp