Sign inSign up

wangjicheng80/ubuntu

By wangjicheng80

•Updated over 7 years ago

Image
0

270

wangjicheng80/ubuntu repository overview

FROM hub.c.163.com/public/ubuntu:16.04

MAINTAINER netease

RUN mkdir -p /var/run/sshd

RUN apt-get update \

&& apt-get update && apt-get install -y openssh-server vim tar wget curl rsync bzip2 iptables tcpdump less telnet net-tools lsof sysstat cron supervisor inetutils-ping \

&& rm -rf /var/lib/apt/lists/*

RUN sed -i s/"PermitRootLogin without-password"/"PermitRootLogin yes"/g /etc/ssh/sshd_config

RUN cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

EXPOSE 22

COPY sshd.conf /etc/supervisor/conf.d/sshd.conf

CMD ["/usr/bin/supervisord"]


sshd.conf

[supervisord]

nodaemon=true

[program:sshd]

command=/usr/sbin/sshd -D

Tag summary

Content type

Image

Digest

Size

154 MB

Last updated

over 7 years ago

docker pull wangjicheng80/ubuntu:16.04nginx