#!/bin/bash
echo "Starting NGINX - Example"
docker run --rm \
  --name nginx-example \
  --link dtwsagent \
  --volumes-from dtwsagent \
  --ipc container:dtwsagent \
  --publish-all \
  nginx \
  sh -c "(sleep 1 && \${DTWSAGENT_ENV_DT}/attach-wsagent-slave.sh &) && \
         LD_PRELOAD=\${DTWSAGENT_ENV_LIB64} nginx"
#!/bin/bash
echo "Starting NGINX - Example"
docker run --rm \
  --name nginx-example \
  --link dtwsagent \
  --volumes-from dtwsagent \
  --ipc container:dtwsagent \
  --publish-all \
  nginx \
  sh -c "(sleep 1 && \${DTWSAGENT_ENV_DT}/attach-to-wsagent-master.sh &) && \
         LD_PRELOAD=\${DTWSAGENT_ENV_LIB64} nginx"
Fix name of shell script.
Fix name of shell script.
