Examine the evolution of virtualization technologies from bare metal, virtual machines, and containers and the tradeoffs between them.
Explores the three core Linux features that enable containers to function (cgroups, namespaces, and union filesystems), as well as the architecture of the Docker components.
Install and configure Docker Desktop
Use publicly available container images in your developer workflows and learn how about container data persistence.
Building out a realistic microservice application to containerize.
Write and optimize Dockerfiles and build container images for the components of the example web app.
Use container registries such as Dockerhub to share and distribute container images.
Use Docker and Docker Compose to run the containerized application from Module 5.
Learn best practices for container image and container runtime security.
Explore how to use Docker to interact with containers, container images, volumes, and networks.
Add tooling and configuration to enable improved developer experience when working with containers.
•Developer Experience Wishlist
Deploy containerized applications to production using a variety of approaches.
docker run docker/whalesay cowsay "Hey Team! 👋"
This command will pull the public whalesay image from Docker Hub, download it, and run a container with the custom command provided.
________________
< Hey Team! 👋 >
----------------
\
\
\
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\______/
docker run -e POSTGRES_PASSWORD=foobarbaz -p 5432:5432 postgres:15.1-alpine
This command will:
POSTGRES_PASSWORD
environment variable (required for the container to start)5432
on your localhost and connect it to port 5432
inside the containerpostgres:15.1-alpine
image from Docker Hub, if it's not already available locally - Host: localhost
- Port: 5432
- User: postgres
- Password: foobarbaz
SELECT * FROM information_schema.tables;
This query will return all the tables from the information schema within the database running inside the container.