Skip to content

Glossary: CI/CD with GitHub Actions

docker build / docker run

Also written: docker build, docker run, -p, --rm

`docker build -t shop .` builds an image from the Dockerfile and names it. `docker run -p 8000:8000 --rm shop` starts a container, connects a port and deletes it when it stops.

Where the book teaches it

Related terms

Dockerfileportcontainer