From 61d8dfe02af10814b521692ec310e2ac84c7ae21 Mon Sep 17 00:00:00 2001 From: younglim Date: Wed, 28 Aug 2024 18:16:39 +0800 Subject: [PATCH] Use --load to avoid error on linux --- shell_scripts/start_docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell_scripts/start_docker.sh b/shell_scripts/start_docker.sh index 52ac655..a9875ad 100755 --- a/shell_scripts/start_docker.sh +++ b/shell_scripts/start_docker.sh @@ -9,10 +9,10 @@ fi # Build the Docker container using buildx # Refer to MacOS (Colima) steps here to install buildx: # https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#installing-buildx -docker buildx build -t purple-a11y-tests -f Dockerfile . +docker buildx build --load -t purple-a11y-tests -f Dockerfile . # List Docker images -docker image ls +# docker image ls # Add hostname mappings and run the container docker run -dit --name purple-a11y-tests-instance --add-host=main.purplea11y.local:0.0.0.0 --add-host=diffHostname.purplea11y.local:0.0.0.0 --add-host=docs.google.com:0.0.0.0 purple-a11y-tests