8 lines
No EOL
312 B
Bash
8 lines
No EOL
312 B
Bash
#!/bin/bash
|
|
|
|
# Stop and remove existing container with the same name
|
|
docker stop "$(docker ps -aq --filter "name=asteroid-cookies")"
|
|
docker rm "$(docker ps -aq --filter "name=asteroid-cookies")"
|
|
|
|
# Run the container with the specified tag and name
|
|
docker run -p 9000:9000 --name asteroid-cookies asteroid-cookies |