DEV Community

pawan deore
pawan deore

Posted on

Docker personal notes

Problem:

dependency don't work well together
also you don't know which version is compatible with which one

things works on 1 machine but doesn't work on others machine

starting development easier and fast instead of spending time on configuring project

Solution:

docker (containerization of things)

Container - you can share this thing, it works on host OS
VM - have their own guest OS

Images: a template used to build a container

Containers: run-time instance of docker image

Docker file: contains the commands required to assemble an image

Docker Hub: place to host your images and share (Public)

Daemon: a process docker'd listens to events and managers, images, containers, networks, volumes

Registry: Stateless highly scalable server side app that stores and let s you distribute docker images (Private)

Docker compose - start and stop service on one machine
Swarm - start and stop services across multiple (like a Kubernetes)

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →