level 1
关于8.2.2 节的镜像运行后功能不太正常的问题
此镜像基于 dockerinaction/mailer-base:0.6, 而mailer-base:0.6又基于debian:wheezy
debian:wheezy中没有nc, 而目录./log-impl下mailer.sh 需要运行nc, 因此运行后的日志里出现的是
/app/mailer.sh: 5: /app/mailer.sh: nc: not found
解决方法 在Dockerfile中增加
RUN apt-get update &&\
apt-get install netcat-traditional -y
2017年03月29日 07点03分