FROM centos RUN yum install -y nc ENTRYPOINT ["nc"] CMD ["nc"]