WTF is a Docker Container?

Mark Shust
InstructorMark Shust
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 6 years ago

Docker is a tool to create and manage containers, which are bundles containing all source code and dependencies needed in order to run an application. In this lesson we will go over a brief overview of what Docker is and some of it's main benefits.

Instructor: [00:00] Docker is the de facto tool used to create and deploy container-based applications. Docker is a client server-based architecture that makes running containers very easy. A container is a running unit of software. Containers are very lightweight and efficient and consume very little compute resources.

[00:20] Every web server, database server, or other application server is identified as a service and typically runs within its own container that is isolated from other services. This practice provides the ability to scale each service independently from other services.

[00:37] Containers are built from images. You can think of an image as a bundled archive containing all packages and source code needed to run the application.

[00:46] A Docker file is a text file which serves as the blueprint and contains all instructions needed for building an image. Images can be built from other images with each line in the Docker file representing a layer that is immutably stored and cached for future use.

[01:04] Once an image is built and a container is running, you can be sure that the container will reliably run the same for everyone, regardless of their operating environment.

[01:14] Docker provides a very predictable runtime environment and allows you to focus on programming and shipping your app rather than worrying about installing the required dependencies needed in order to run it.

egghead
egghead
~ 10 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today