Sign inSign up

xpym/chef-node-ubuntu

By xpym

Updated about 8 years ago

Chef node based on Ubuntu 18.04. Root ssh login permitted, passwd 123456.

Image
0

1.1K

xpym/chef-node-ubuntu repository overview

FROM ubuntu

RUN apt -y update; apt clean all RUN apt -y install openssh-server openssh-client; apt clean all RUN mkdir /var/run/sshd RUN echo 'root:123456' | chpasswd RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config RUN echo "export key=df -h | grep mapper | awk '{print $1}' | awk -F - '{print $4}'" >> /root/.bashrc RUN echo '172.17.0.1 chef-server' >> /etc/hosts EXPOSE 22 ENTRYPOINT ["/usr/sbin/sshd", "-D"]

Tag summary

Content type

Image

Digest

Size

96.3 MB

Last updated

about 8 years ago

docker pull xpym/chef-node-ubuntu