anchor.diff:    apt-get -y install nginx ;\
     \
   echo "# Move nginx.conf to /data" ;\
  -  mkdir /data ;\
  -  mv /etc/nginx/nginx.conf /data/nginx.conf ;\
  -  ln -s /data/nginx.conf /etc/nginx/ ;\
  +  mkdir -p /data/nginx ;\
  +  mv /etc/nginx/nginx.conf /data/nginx/nginx.conf ;\
  +  ln -s /data/nginx/nginx.conf /etc/nginx/ ;\
     \
   echo "# Nginx deamon off" ;\
  -  echo "daemon off;" >> /data/nginx.conf ;\
  +  echo "daemon off;" >> /data/nginx/nginx.conf ;\
     \
   true
   # END RUN
  
positive.code: #
  #     docker run -d -v "/local/data/:/data/" walm/nginx
  #
  # VERSION               1.1
  
  FROM ubuntu:12.10
  MAINTAINER Andreas Wålm "andreas@walm.net"
  
negative.code: EXPOSE  80
  EXPOSE  443
  
  CMD ["nginx", "-c", "/data/nginx/nginx.conf"]
  
  