• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Docker In Action: Kubernetes required?

 
Ranch Hand
Posts: 458
Scala jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am relatively new to this so this might be a stupid question but it seems Docker and Kubernetes go hand in hand so do you need Kubernetes to use Docker or is just something that makes things easier?
 
Author
Posts: 11
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Will,
You've asked a great question.

Short answer: No, you don't need Kubernetes to learn about Docker or containers in general.

Long answer:
In fact, the Docker in Action authors recommend that you learn about containers and Docker first, then move on to learn about container orchestration systems.

Container orchestration systems are tools designed to help people run containerized applications across multiple hosts.  Kubernetes, Swarm, and AWS Elastic Container Service are all container orchestrators.  Container orchestrators, especially Kubernetes, tend to be complex machines and you'll want a solid foundation in standalone containers first.  Docker in Action, 2ed builds this foundation in the first two thirds of the book.

Docker in Action 2ed covers the core concepts of container orchestration such as "Services" and running services modeled in Swarm in the final third of the book.  These concepts and exercises should provide useful context when moving to Kubernets or ECS, should you choose to do that.
 
Sheriff
Posts: 7421
504
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Will Myers wrote:...do you need Kubernetes to use Docker...


As a respected author just said - no. In fact, you can run docker image locally, on your machine (i.e. laptop), however, usually for production use they run somewhere else. All major cloud service providers have some infrastructure/services where you could run your image, i.e. on fully managed Google Cloud Run platform which is exactly designed for that.
 
Saloon Keeper
Posts: 21593
146
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note even close. I've run Docker completely self-container, Docker with Composer, Docker provisioned by Puppet and Docker provisioned by Ansible - which is my preferred approach at the moment.

Kubernetes can help you maintain and control an elastic cloud of Docker apps, but Kubernetes isn't something that you can just get up and running on a whim, so I recommend leaving it for later.
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!