mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Ensure container ID gets properly obtained before removal
This commit is contained in:
parent
0fccf99741
commit
522f91f12a
@ -1,2 +1,3 @@
|
||||
docker container rm -f $(docker ps -aqf "ancestor=maciejpedzi.ch:latest")
|
||||
docker stop my_website && \
|
||||
docker container rm $(docker ps -aqf "name=my_website") && \
|
||||
docker run -d -p 8505:80 --name my_website maciejpedzi.ch:latest
|
||||
|
Loading…
Reference in New Issue
Block a user