mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-06 19:21:51 +00:00
chore: Add stop and rm task.
This commit is contained in:
parent
7a1fdcfdf3
commit
82a355554e
8
Makefile
8
Makefile
|
@ -40,6 +40,14 @@ run:
|
|||
echo "Running $(IMAGE) docker image..."
|
||||
sudo docker run $(docker_run_flags) --name $(APPNAME) $(IMAGE)
|
||||
|
||||
stop:
|
||||
echo "Stopping container $(APPNAME) ..."
|
||||
-sudo docker stop $(APPNAME)
|
||||
|
||||
rm:
|
||||
echo "Deleting container $(APPNAME) ..."
|
||||
-sudo docker rm $(APPNAME)
|
||||
|
||||
shell:
|
||||
echo "Running $(IMAGE) docker image with shell access..."
|
||||
sudo docker run $(docker_run_flags) --entrypoint="/bin/bash" $(IMAGE) -c /bin/bash
|
||||
|
|
Loading…
Reference in New Issue
Block a user