breakout-custom/run-docker.sh

8 lines
300 B
Bash
Raw Normal View History

2024-09-06 23:53:24 +00:00
#!/bin/bash
# Stop and remove existing container with the same name
docker stop "$(docker ps -aq --filter "name=breakout-game")"
docker rm "$(docker ps -aq --filter "name=breakout-game")"
# Run the container with the specified tag and name
docker run -p 9000:9000 --name breakout-game breakout-game