From e8f1ac5c15c3481c970e2e65c0bdb83cedf5f08d Mon Sep 17 00:00:00 2001 From: Nicholas Mucks Date: Sun, 14 Jul 2024 12:30:27 -0700 Subject: [PATCH] remove network --- automation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation.sh b/automation.sh index 00d3c898b..b9ff2bdd3 100644 --- a/automation.sh +++ b/automation.sh @@ -8,7 +8,7 @@ docker system prune -af echo "####################################################" echo "Build and run container..." echo "build . -t spring_image" -echo "docker run -itd --net=assignment2 -p:8080:8080 --name spring-clinic spring_image" +echo "docker run -itd --p:8080:8080 --name spring-clinic spring_image" docker build . -t spring_image -docker run -itd --net=assignment2 -p:8080:8080 --name spring-clinic spring_image +docker run -itd -p:8080:8080 --name spring-clinic spring_image