Skip to content

Commit

Permalink
Use --load to avoid error on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
younglim committed Aug 28, 2024
1 parent 94e170c commit 61d8dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell_scripts/start_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61d8dfe

Please sign in to comment.