Chapter 2: Containerizing apps
View in the book.
Buy the book.
Containerizing your application—that is, packaging your application and its dependencies into an executable container—is a required step before adopting Kubernetes.
2.1.2 Running commands in Docker
Create a Bash shell in docker
2.1.3 Building our own images
Get the book’s examples
2.1.4 Using base images
Dockerfile with a base image
2.1.5 Adding a default command
A Dockerfile with a default command
2.1.6 Adding dependencies
Adding dependencies to a Dockerfile
2.1.7 Compiling code in Docker
Compiling code in a Dockerfile
2.1.8 Compiling code with a multistage build
Using a multi-step build to compile code.
2.2.1 Containerizing an application server
Containerized server
2.2.2 Debugging
Some commands to debug Docker