Build Your Own Custom Docker Image

InstructorMark Shust

Share this video with your friends

Send Tweet

In this lesson we will cover how to build your own custom Docker image from scratch. We'll walk through the process of starting a Debian container, installing packages and working through configuration issues, as well as a strategy for building a Dockerfile.

hipertracker
~ 7 years ago

Awesome video! Mark, would you consider to create a video for building an application with 2 dockers (http server, a database) with ansible?

Miguel Romero Gutierrez
~ 5 years ago

Hi Mark, i appreciate a lot this video, i'm a beginner with docker. Could you give me some resources to understand better this tool, please?

J. Matthew
~ 5 years ago

Hi Mark, i appreciate a lot this video, i'm a beginner with docker. Could you give me some resources to understand better this tool, please?

This video is at the end of the following playlist, which I have found extremely helpful and which answers that exact need: https://egghead.io/playlists/docker-fundamentals-0cb53b55. In my opinion this playlist serves as a de facto "Getting Started with Docker" course.

Roberto Estrada
~ 5 years ago

Great course

~ 5 years ago

Hi. I am getting an issue.

curl http://tengine-2.3.2.tar.gz > /opt/tengine-2.3.2.tar.gz
//or

then

~ 5 years ago

Hi. I am getting an issue.

curl http://tengine-2.3.2.tar.gz > /opt/tengine-2.3.2.tar.gz
//or
curl http://tengine-2.2.0.tar.gz > /opt/tengine-2.2.0.tar.gz

then

cd opt

from there I can see the relevant tengine-2.x.x.tar.gz file, but when I run

tar xzf tengine-2.x.x.tar.gz

I get the following error:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

and I get returned to the bash prompt.. any suggestions?

Thanks in advance.

Beau
~ 5 years ago

Hi. I am getting an issue.

curl http://tengine-2.3.2.tar.gz > /opt/tengine-2.3.2.tar.gz
//or
curl http://tengine-2.2.0.tar.gz > /opt/tengine-2.2.0.tar.gz

You mistyped the location of tengine-2.3.2.tar.gz. It should be http://tengine.taobao.org/download/tengine-2.2.0.tar.gz.

Nicu
~ 2 years ago

I had to git clone the tengine repo directly since the I had problems with both version 2.3.0 (the newest at this time) and the one in the video (2.2.0).

This is the command for a shallow clone:

git clone https://github.com/alibaba/tengine.git --branch master --single-branch /opt/tengine-master
cd /opt/tengine-master