•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Backup
    • Content Delivery Network
    • Colocation Hosting
    • Dedicated Hosting
    • DDoS Mitigation
    • IP Transit
    • Private Cloud
    • Wavelength
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • Dedicated Servers
    • Colocation
    • Private Cloud
    • DDos Protection
    • IP Transit
    • CDN
    • Backup
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

Docker container vs Image

  • Home
  • Client
  • Qa Forum
  • Docker container vs Image

Posted By: Chris | 1 Replies | Last Reply On: Oct 27, 2017 12:13:01

How is a docker container different from an image?  Which one is preferred? 

Psychz - Ramesh

Votes: 0Posted On: Oct 27, 2017 12:13:01
 

Images and Containers are often used interchangeably. However, they are not the same and functions differently.
Let me explain you both with simplest of example
 
A docker image is like an application which has an executable file on disk. They are never running.
On the other hand, When you execute an application, it creates an instance in memory that is running. This is like a Docker container.
 
Okay, let me put it in more simpler words,
 
A docker image contains an operating system along with many applications. Whereas, a container is running an instance generated from an image.
So now each time you start a container from an image, you are actually “starting over”. Which means that changes made to a container do not carry over to the base image. However, changes made within a container are saved since they are captured in that specific container’s filesystem layer.

Was this reply helpful?

Related topics

  • Smart guide to managing Docker container
  • Docker Container vs VM
  • How To Run Kubernetes on Psychz Networks Bare Metal Servers
  • SSH into Docker Container
  • OpenShift vs. Docker
  • LXD vs Docker
  • Docker swarm vs Kubernetes
  • Docker remove all images
  • How to add Image Optimization
  • Kubernetes vs Jenkins | How are they different?
  • Managing systemd services and units using systemctl commands
  • Tools That Make Kubernetes Easier
  • Red Hat: Not just about Linux anymore!
  • Scaling your Business with a Dedicated Server and Containers
  • Psychz CDN Products and Features Updates
Hosting Services
  • Dedicated Hosting
  • Colocation Hosting
  • Backup
  • IP Transit
  • DDoS Mitigation
Support
  • Portal Login
  • Knowledgebase
  • Community
Company
  • About Us
  • Contact Us
  • Network
  • Data Centers
  • Looking Glass
  • Affiliates
  • Reseller
  • Blog
Policies
  • Privacy Policy
  • Acceptable Usage Policy
  • Terms and Conditions
  • Service Level Agreement
Company
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801
Subscribe to Our Mailing List
* indicates required
Copyright © 2023 Psychz Networks, A Profuse Solutions Inc Company