Simple steps to Docker for Developers: Part 2.

So how do we as Developers, really use Docker for our development activities? How Do we setup our local environments and configure things for docker use? How do testers use Docker?

First, I assume by now you have "Docker for Desktop" installed and running on your Dev Machine. Hopefully, a windows 10 at the minimum, with Hyper-V supported and enabled.

Docker Desktop for Windows: A native Windows application which delivers all Docker tools to your Windows computer.

If you do not have Docker Desktop installed, jump quickly to my previous post on Docker installation:Simple Steps to Docker for Developer: Part 1

All right, welcome back! We now need to become familiar with certain terms:

Docker:

The term Docker can refer to:
  • The Docker project as a whole, which is a platform for developers and sysadmins to develop, ship, and run applications
  • The docker daemon process running on the host which manages images and containers (also called Docker Engine)

Docker Engine:

This is the underlying client or server technology that builds and runs containers using Docker's components and services. It is also referred to as "docker daemon process".

(Docker)Machine:

Machine is a Docker tool which makes it really easy to create Docker hosts on your computer, on cloud providers and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.

Each managed host (“machine”) is the combination of a Docker host and a configured client.
Hop over to the command prompt and type: Docker-machine to read a full explanation of what can be done on/with docker machine.
Note: Machine was the only way to run Docker on Mac or Windows previous to Docker v1.12. Starting with Docker v1.12, Docker Desktop for Mac and Docker Desktop for Windows are available as native apps and the better choice for this use case on newer desktops and laptops. These two installers include Docker Machine, You can use them to run Docker natively on your local system without using Docker Machine at all.


However, if you want to create multiple local machines, you still need Docker Machine to create and manage machines for multi-node experimentation.
Docker Desktop for Windows uses Microsoft Hyper-V for virtualization, and you use docker-machine to create more local VMs by using the Microsoft Hyper-V driver.







Comments

Popular posts from this blog

Why can't Microsoft install IIS on Window Operating Systems by default?

Exam 70-487: Accessing Data - How to choose the Appropriate Data Access Technology - Entity Framework?

Exam 70-487: Accessing Data - How to choose the Appropriate Data Access Technology - Azure Cosmos DB?