• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Docker In Action: Kubernetes required?

 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 8969
646
Mac OS X Spring VI Editor BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 28325
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Hang a left on main. Then read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic