Introduction to Docker Swarm -Part 2

  • The docker service create command creates the service.
  • The — name flag names the service myhttpd.
  • The — replicas flag specifies the desired state of 1 running instance.
  • The argument httpd define the service as an httpd container.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

minst accel in sdsoc

Havan adopts adaptable, container-based development with Red Hat OpenShift

Kubernetes get started — Deploy a simple web server

Learn to code by making a 2D space shooter game.

A Quick Guide to Serverless Computing World

How we’re bringing a holistic data experience to our customers and products

Dark sides of Competitive Programming

Boss of the SOCs (BOTS) V3 — Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nikhil Patil

Nikhil Patil

More from Medium

Build Container Image With Dockerfile

Learn Docker: Containers (2/6)

Bypass SSL Cert code in Java/ Python/ GoLang.

Monitor Linux logs with ELK and rsyslog in Open Telekom Cloud