Getting started with Docker: containerize your first app
· 2 min read
Docker is often the first building block you meet in DevOps. It packages an application with all its dependencies into a portable unit: the container. In this article, we start from scratch and run our first containerized app.
Image vs container
Two concepts you shouldn't confuse:
- Image: an immutable template containing your application and its environment.
- Container: a running instance of an image.
You build an image once, then start as many containers as needed from it.