make container_run that depends on make container, and then runs the container, with name "vegeta".
make container_clean that, currently removes the container and, removes the docker image.
Add a make container_stop target to the Makefile that would only do a docker rm -f vegeta.
Also update make container_clean to depend on make container_stop and remove the docker rm -vegeta step.
make container_run should also, first depend on make container followed by make container_stop .
We now have,
make container
which builds the container,make container_run
that depends onmake container
, and then runs the container, with name "vegeta".make container_clean
that, currently removes the container and, removes the docker image.Add a
make container_stop
target to theMakefile
that would only do adocker rm -f vegeta
.Also update
make container_clean
to depend onmake container_stop
and remove thedocker rm -vegeta
step.make container_run
should also, first depend onmake container
followed bymake container_stop
.