Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Developing with Docker
  • Table Of Contents Toc
Developing with Docker

Developing with Docker

By : Krochmalski, Jaroslaw Krochmalski
close
close
Developing with Docker

Developing with Docker

By: Krochmalski, Jaroslaw Krochmalski

Overview of this book

This fast-paced practical guide will get you up and running with Docker. Using Docker, you will be able to build, ship, and run many distributed applications in real time. You will start with quickly installing Docker and start working with images and containers. We will present different types of containers and their applications, and show you how to find and build images. You will learn how you can contribute to the image repository by publishing different images. This will familiarize you with the image building process and you will be able to successfully run your programs within containers. By finishing this book, you will be well equipped in deploying your applications using Docker and will have a clear understanding of concepts, techniques, and practical methods to get it running in production systems.
Table of Contents (11 chapters)
close
close

Chapter 6. Creating Images

After reading the previous chapters, you should be familiar on how to find images suitable as a base for your own software. You can pull them from the remote repository, run and make changes to them during runtime and then export as new images. We saw building our own image earlier via running a container, installing our software in it, and doing a commit to create the image in Chapter 3, Understanding Images and Containers. This is not very practical and sometimes very cumbersome. Luckily, there's a solution for that. Docker has a scripting engine that we can use to create a new image with a predefined list of instructions and properties. We call these scripts Dockerfiles. This time, we are going to create an image based on a Dockerfile. This chapter will cover the following topics:

  • Introduction to Dockerfiles
  • Creating and editing Dockerfiles
  • Dockerfile instructions
  • Building images

Let's understand what a Dockerfile is first. It's nothing...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Developing with Docker
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon