Amqp Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup_development.sh 566B

пре 3 година
1234567891011121314151617
  1. #!/usr/bin/env bash
  2. image_version=`date +%Y%m%d%H%M`;
  3. docker stop amqp_test || true;
  4. docker rm amqp_test || true;
  5. # ɾ
  6. docker rmi -f $(docker images | grep telpo/amqp_test | awk '{print $3}')
  7. docker build -f ./AmqpTest/Dockerfile . -t telpo/amqp_test:$image_version;
  8. #
  9. docker run -d -e environment=Development -v /home/data/amqp_test/log:/var/amqp/logs --name amqp_test telpo/amqp_test:$image_version;
  10. #ɾNone
  11. docker rmi -f $(docker images | grep none | awk '{print $3}')
  12. # 鿴б
  13. docker images;
  14. # 鿴־
  15. docker logs amqp_test;