...
Run a container based on your image:
docker
...
run
...
-d
...
--name
...
mycontainer
...
-p
...
80:80
...
myimage
Remove
...
the
...
container
docker
...
ps --all
docker stop mycontainer
docker run --rm mycontainer
...
docker
...
run
...
-d
...
--name
...
mycontainer
...
-p
...
80:80
...
myimage
Remove
...
the
...
container
docker
...
ps --all
docker stop mycontainer
docker run --rm mycontainer