Skip to content

Instantly share code, notes, and snippets.

@darksystem23
Last active April 21, 2016 13:35
Show Gist options
  • Save darksystem23/b0717bb9ea05e993a7cd9565da3f4c45 to your computer and use it in GitHub Desktop.
Save darksystem23/b0717bb9ea05e993a7cd9565da3f4c45 to your computer and use it in GitHub Desktop.
Docker_Example_Supervisord
FROM ubuntu:latest
MAINTAINER darksystem23
RUN apt-get update && apt-get install -y \
supervisor \
vim \
openssh-server
RUN apt-get clean
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN mkdir -p /var/run/sshd /var/log/supervisor
EXPOSE 22
CMD ["/usr/bin/supervisord"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment