This presentation was the foundation of our Docker Essentials workshop hosted by CloudHero CEO & founder Andrei Manea for the Innovation Labs team on the 23rd of July 2020.
This presentation covers the following topics:
-Getting started with containers
-A bit of history about orchestration
-Introduction to services (what they are, how to create and scale them).
To find out more about this topic, check https://cloudhero.io/
DockerCon EU 2015: Trading Bitcoin with DockerDocker, Inc.
Presented by Sebastien Goasguen, VP, Apache CloudStack and Mathieu Buffenoir, co-founder, SBEX
Bity is an internet money gateway built by Swiss Bitcoin Exchange ( SBEX ). To trade bitcoin the entire infrastructure of Bity is running in Docker containers. All the components of the infrastructure are using Docker, from the frontend applications and load balancer, the Django based backend, replicated Postgres database, Bitcoin daemon and remittance engine. All software goes through a CI pipeline that starts with Docker images being built on private repositories in Docker hub. Developers take also advantage of a docker-compose definition that allows them to run the entire infrastructure on a single laptop. Finally the production deployments happen thanks to the Ansible Docker module on a CloudStack based public cloud. Everything has been automated to ease re-deployment and operations. This presentation will go through every component and how Docker has enabled us to go production in 4 months.
Enable Fig to deploy to multiple Docker servers by Willy KuoDocker, Inc.
Fig (http://www.fig.sh/) is an Docker-based development environment tool which is owned by Docker. Originally, we can only deploy to one host at one time. My hack in Docker Global Hack Day #2 is to enable Fig to deploy multiple hosts at one time. In this talk, I'll give a brief introduction to Fig first. Then describe my hack in the hack day. Finally I'll give a short demo about deploying apps to multi hosts at one time.
Deep dive in container service discoveryDocker, Inc.
This document discusses service discovery and load balancing in Kubernetes. It begins by defining service discovery and explaining why it is important. It then demonstrates how Kubernetes implements service discovery using Deployments, Services, and Endpoints. It explains how kube-proxy performs load balancing using different modes like iptables and IPVS. It also covers topics like hairpin traffic, persistence, and alternatives to kube-proxy. Overall, the document provides an in-depth look at how service discovery and load balancing work under the hood in Kubernetes.
This is a journey of a developer who goes from docker-compose to kompose to opencompose. Which tool can help her best to move to Kubernetes? Find out in the slides. Also there is a demo in the slides which shows how these tools can help.
This talk was presented at DevConf India on May 12th 2017. DevConf India was a parallel track with rootconf 2017. Visit devconf.in to know more.
Docker for developers on mac and windowsDocker, Inc.
The whole Docker ecosystem exists today because of every single developer who found ways of using Docker to improve how they build software; whether streamlining production deployments, speeding up continuous integration systems or standing up an application on your laptop to hack on. In this talk we want to take a step back and look at where Docker sits today from the software developers point of view - and then jump ahead and talk about where it might go in the future. In this talk, we’ll discuss:
* Making Docker an everyday part of the developing software on the desktop, with Docker for Windows and Docker for Mac
* Docker Compose, and the future of describing applications as code
* How Docker provides the best tools for developing applications destined to run on any Kubernetes cluster
This session should be of interest to anyone who writes software; from people who want to hack on a few personal projects, to polyglot open source programmers and to professional developers working in tightly controlled environments. Everyone deserves a better developer experience.
2016 - Continuously Delivering Microservices in Kubernetes using Jenkinsdevopsdaysaustin
The document discusses continuous integration and delivery (CI/CD) workflows using Kubernetes and Jenkins. It describes using Jenkins to automate the process of building, testing, and deploying code changes to Kubernetes clusters. The workflow includes steps for continuous integration testing, deploying to staging environments, and approving deployments to production with manual approval gates. It provides examples of implementing the workflow using a Jenkinsfile and Kubernetes resources like deployments.
Kubernetes101 - Pune Kubernetes Meetup 6Harshal Shah
This document provides an overview and agenda for a hands-on Kubernetes workshop. The workshop will cover Kubernetes concepts like pods, deployments, services, labels and selectors. It will demonstrate how to set up a Kubernetes cluster on Google Cloud and on a local laptop. Attendees will get hands-on experience with deploying applications and performing rolling updates using Kubernetes primitives.
1. Kubectx and Kubens are utilities that help manage and switch between Kubernetes contexts and namespaces, saving time when working with multiple clusters.
2. Kustomize is a tool for managing Kubernetes manifests and applying patches, making it easier to maintain configurations than templates. It can be used to apply common labels, annotations, and add prefixes to all resource names.
3. Skaffold automates the build, push and deploy pipeline, enabling fast local Kubernetes development. It works with build tools like Docker, Jib, and deploy tools like Helm and Kustomize. It supports profiles for different environments.
DockerCon EU 2015: From Local Development to Production Deployments using Ama...Docker, Inc.
Amazon EC2 Container Service (ECS) is a highly scalable and high performance container management service that makes it easy to run and scale containerized applications on AWS. It eliminates the need to install and manage your own cluster management software. ECS manages the placement of containers on EC instances, handles scaling from 1 to thousands of containers, and provides control and monitoring of the containers. The new ECS CLI for Docker Compose allows users to leverage existing Docker Compose files and workflows with ECS through commands like 'ecs-cli up' for deploying to ECS.
Continuous Deployment with Jenkins on KubernetesMatt Baldwin
Google Senior Software Engineer Evan Brown's presentation from the March 18, 2016 Seattle Kubernetes meetup hosted by StackPointCloud. Evan shows how you deploy Jenkins into Kubernetes, then takes us through CD and canary deployments. Join us in Seattle: http://www.meetup.com/Seattle-Kubernetes-Meetup/
This document discusses using TensorFlow with Golang for machine learning tasks like image recognition. It provides instructions for cloning a GitHub repository containing a sample project that uses a pre-trained TensorFlow model within a Golang application to classify images. The application is built as a Docker image to perform image recognition by taking URLs as arguments and returning potential labels and probabilities. The document also briefly mentions the possibility of training custom models from Golang in TensorFlow.
Red hat ansible automation technical deckJuraj Hantak
Ansible Automation can be used to deliver a high-level introduction of Red Hat Ansible Automation. This deck contains speaker notes and can be used to start discussions with customers. It provides a technical overview but not a deep dive. Follow-on discussions would leverage Red Hat Ansible Automation technical materials.
How To Build and Run Node Apps with Docker and ComposeDocker, Inc.
Kathleen Juell, Digital Ocean -
Containers are an essential part of today's microservice ecosystem, as they allow developers and operators to maintain standards of reliability and reproducibility in fast-paced deployment scenarios. And while there are best practices that extend across stacks in containerized environments, there are also things that make each stack distinct, starting with the application image itself.
This talk will dive into some of these particularities, both at the image and service level, while also covering general best practices for building and running Node applications with database backends using Docker and Compose.
KubeCon EU 2016: Leveraging ephemeral namespaces in a CI/CD pipelineKubeAcademy
One of the most underrated features of Kubernetes is namespaces. In the market, instead of using this feature, people are still stuck with having different clusters for their environments. This talk will try to break this approach, and will introduce how we end up using ephemeral namespaces within our CI/CD pipeline. It will cover the architecture of our system for running the user acceptance tests on isolated ephemeral namespaces with every bits and pieces running within pods. While doing this, we will set up our CI/CD pipeline on top of TravisCI, GoCD, and Selenium that is controlled by Nightwatch.js.
Sched Link: http://sched.co/6Bcb
Docker storage designing a platform for persistent dataDocker, Inc.
This document summarizes a presentation about Docker storage and persistent data. It discusses immutable Docker images, applications with persistent data requirements, and different approaches to persistent storage with Docker including per-container storage, shared storage on the same host, multi-host shared storage, Docker volume plugins, and orchestrating storage with Swarm and Kubernetes. Key takeaways are that shared storage allows for smaller images, efficient usage of repetitive data, and decoupling of applications and data, and that running databases in containers is acceptable if requirements for latency, IOPS, bandwidth, and security are met.
An overview about Docker's new 1.12 release. This slide deck covers the new features as well as demo including commands to start up your own Docker Swarm on either Docker for Mac or Docker for Windows and deploy a Docker Service
The presentation was delivered via a container running RevealJS which is where some of the some formatting issues come from in SlideShare.
Docker: A New Way to Turbocharging Your Apps Developmentmsyukor
Docker is a platform for developing, shipping, and running applications. It provides containers that package applications and dependencies together allowing them to run seamlessly on any infrastructure. The document discusses Docker concepts like containers, images, and the Docker ecosystem. It also provides examples of using Docker with various applications and frameworks like PHP, Java, .NET, Nginx, and Apache. Managing Docker containers at scale can be done with tools like Kubernetes, Docker Datacenter, Rancher, and Prometheus for monitoring.
Docker is an open platform for building, shipping and running containers. It provides lightweight virtualization that allows applications to run reliably from one computing environment to another. Some key benefits of Docker include guaranteed consistency through isolation of applications and their dependencies into lightweight executable packages called containers.
This document provides an overview of Docker for developers. It begins with an agenda that covers Docker containers, images, networking, volumes, UI tools, Dockerfiles, Docker Compose, and best practices. It then defines Docker and containers, discusses the benefits of containers over virtual machines. It covers key Docker concepts like images, containers, registries. It also discusses tools like Dockerfile, Docker Compose, Portainer, Kitematic. The document provides examples of common Docker commands and best practices for using resources efficiently and securely.
This document provides an overview of Docker for developers. It discusses why Docker is useful for building applications, including portability across machines, isolating dependencies, and creating development environments that match production. Benefits of Docker like lightweight containers, a unified build process with Dockerfiles, standardized images from Docker Hub, and fast container startup times are outlined. Some cons like only working on Linux and added complexity are noted. Using Docker with Vagrant for a portable development environment is presented. Key Docker CLI commands and Docker Compose for defining multi-container apps are covered. Tips for debugging running containers are provided.
The document provides an agenda for a DevOps with Containers training over 4 days. Day 1 covers Docker commands and running containers. Day 2 focuses on Docker images, networks, and storage. Day 3 introduces Docker Compose. Day 4 is about Kubernetes container orchestration. The training covers key Docker and DevOps concepts through presentations, videos, labs, and reading materials.
This document provides an overview of Docker and instructions for installing and using Docker. It discusses what Docker is, the main Docker tools, how to install Docker on different operating systems, and common Docker commands for pulling images, running containers, linking containers, building images with Dockerfiles, and more. The goal is to teach the reader how to containerize a web application using Docker.
This document provides an agenda for a one-day Docker introduction workshop. It includes an introduction to Docker tools and concepts like containers vs VMs, the Docker ecosystem and tools, Linux and Docker command line usage, Docker Engine, Docker Hub, Docker images, networking and volumes. It also covers deploying Docker images to Azure PaaS, Docker Compose, building ARM images on x86 machines, and a TensorFlow demo. The workshop aims to provide attendees with foundational Docker knowledge and hands-on experience through examples and exercises.
This document provides an introduction and overview of Docker and Docker Compose. It begins with background on the speaker and a history of session-based, non-session based, and container-based computing. Key benefits of containers are then outlined. The document explains the terminology used in Docker and provides examples of pulling an image, building an image, and using Docker Compose to define and run a multi-container application with services like Redis, Node, and Nginx. It also lists and briefly explains many common Docker commands.
This document provides an introduction to Docker and containerization. It covers:
1. The differences between virtual machines and containers, and the container lifecycle.
2. An overview of the Docker ecosystem tools.
3. Instructions for installing and using the Docker Engine and Docker CLI to build, run, and manage containers.
4. A demonstration of using Docker Hub to build and store container images.
5. An introduction to Docker networking and volumes.
6. A demonstration of using Docker Compose to define and run multi-container applications.
7. Suggestions for further learning resources about Docker.
Running the Oracle SOA Suite Environment in a Docker ContainerGuido Schmutz
Running the Oracle SOA Suite Environment in a Docker Container
The document discusses running the Oracle SOA Suite environment in a Docker container. It begins with an introduction to Docker and its benefits over virtual machines. It then demonstrates various Docker commands like run, logs, images, ps to launch and manage containers. It also covers building custom images using Dockerfiles. The document provides examples to showcase common Docker tasks like committing changes to an image, pulling images, stopping and removing containers.
Introduction to Docker presented by MANAOUIL Karim at the Shellmates's Hack.INI event. The teams deployed were assisted to deploy a Python Flask application behind an Nginx load balancer.
Dockerizing Symfony2 application. Why Docker is so cool And what is Docker? And what are Containers? How they works? What are the ecosystem of Docker? And how to dockerize your web application (can be based on Symfony2 framework)?
1. Docker is a container platform that packages applications and dependencies to run seamlessly in any computing environment. It helps eliminate issues caused by differences in computing environments.
2. Kitematic provides a graphical user interface for Docker that makes it easy to run Docker containers without using the command line. It allows visually managing containers.
3. The Docker CLI can be used to run containers by pulling images from Docker Hub, a registry for Docker images, and using commands like docker run to launch containers from those images.
1) The document provides an introduction and agenda for a presentation on Docker, including definitions of key Docker concepts like containers, images, and architecture.
2) It explains the difference between virtualization and containerization, and why Docker is useful for building and shipping applications.
3) The presentation will demonstrate how to dockerize a project using environment variables, volume mounting, and commands like build, run, and stop.
This document provides an overview of Docker concepts and tools for beginners. It covers:
1. The differences between virtual machines and containers, and the container lifecycle.
2. Tools in the Docker ecosystem such as Docker Engine, Docker CLI, Docker Hub, Docker Compose, and networking/volume commands.
3. Examples of using Docker Engine, Docker Hub for images, networking, volumes and deploying images to Azure PaaS.
4. How to use Docker Compose to define and run multi-container applications.
Similar to Docker Essentials Workshop— Innovation Labs July 2020 (20)
A captivating AI chatbot PowerPoint presentation is made with a striking backdrop in order to attract a wider audience. Select this template featuring several AI chatbot visuals to boost audience engagement and spontaneity. With the aid of this multi-colored template, you may make a compelling presentation and get extra bonuses. To easily elucidate your ideas, choose a typeface with vibrant colors. You can include your data regarding utilizing the chatbot methodology to the remaining half of the template.
In this session, we explored how the cbfs module empowers developers to abstract and manage file systems seamlessly across their lifecycle. From local development to S3 deployment and customized media providers requiring authentication, cbfs offers flexible solutions. We discussed how cbfs simplifies file handling with enhanced workflow efficiency compared to native methods, along with practical tips to accelerate complex file operations in your projects.
Alluxio Webinar | 10x Faster Trino Queries on Your Data PlatformAlluxio, Inc.
Alluxio Webinar
June. 18, 2024
For more Alluxio Events: https://www.alluxio.io/events/
Speaker:
- Jianjian Xie (Staff Software Engineer, Alluxio)
As Trino users increasingly rely on cloud object storage for retrieving data, speed and cloud cost have become major challenges. The separation of compute and storage creates latency challenges when querying datasets; scanning data between storage and compute tiers becomes I/O bound. On the other hand, cloud API costs related to GET/LIST operations and cross-region data transfer add up quickly.
The newly introduced Trino file system cache by Alluxio aims to overcome the above challenges. In this session, Jianjian will dive into Trino data caching strategies, the latest test results, and discuss the multi-level caching architecture. This architecture makes Trino 10x faster for data lakes of any scale, from GB to EB.
What you will learn:
- Challenges relating to the speed and costs of running Trino in the cloud
- The new Trino file system cache feature overview, including the latest development status and test results
- A multi-level cache framework for maximized speed, including Trino file system cache and Alluxio distributed cache
- Real-world cases, including a large online payment firm and a top ridesharing company
- The future roadmap of Trino file system cache and Trino-Alluxio integration
In this session, we explored setting up Playwright, an end-to-end testing tool for simulating browser interactions and running TestBox tests. Participants learned to configure Playwright for applications, simulate user interactions to stress-test forms, and handle scenarios like taking screenshots, recording sessions, capturing Chrome dev tools traces, testing login failures, and managing broken JavaScript. The session also covered using Playwright with non-ColdBox sites, providing practical insights into enhancing testing capabilities.
Discover BoxLang, the innovative JVM programming language developed by Ortus Solutions. Designed to harness the power of the Java Virtual Machine, BoxLang offers a modern approach to application development with robust performance and scalability. Join us as we explore the capabilities of BoxLang, its syntax, and how it enhances productivity in software development.
Sami provided a beginner-friendly introduction to Amazon Web Services (AWS), covering essential terms, products, and services for cloud deployment. Participants explored AWS' latest Gen AI offerings, making it accessible for those starting their cloud journey or integrating AI into coding practices.
Ansys Mechanical enables you to solve complex structural engineering problems and make better, faster design decisions. With the finite element analysis (FEA) solvers available in the suite, you can customize and automate solutions for your structural mechanics problems and parameterize them to analyze multiple design scenarios. Ansys Mechanical is a dynamic tool that has a complete range of analysis tools.
Are you wondering how to migrate to the Cloud? At the ITB session, we addressed the challenge of managing multiple ColdFusion licenses and AWS EC2 instances. Discover how you can consolidate with just one EC2 instance capable of running over 50 apps using CommandBox ColdFusion. This solution supports both ColdFusion flavors and includes cb-websites, a GoLang binary for managing CommandBox websites.
How to debug ColdFusion Applications using “ColdFusion Builder extension for ...Ortus Solutions, Corp
Unlock the secrets of seamless ColdFusion error troubleshooting! Join us to explore the potent capabilities of Visual Studio Code (VS Code) and ColdFusion Builder (CF Builder) in debugging. This hands-on session guides you through practical techniques tailored for local setups, ensuring a smooth and efficient development experience.
3. Workshop Agenda
● Getting started with containers
○ How to build an image
■ Base images
■ Dockerfile
■ Docker build
■ Docker commit
○ Docker tags
○ Push / Pull image
○ Docker Volumes
4. Workshop Agenda
● A bit of history about orchestration
● Introduction to services
○ What is a service
○ Creating services
○ Scaling Services
○ Rolling Updates
5. Prerequisites
● Docker Running on your Laptop
○ Docker for Mac / Windows
● Git
○ git clone
https://github.com/andrei821/orchestration-workshop.git
15. Key Takeaways
● Containers are NOT VM’s or mini VM’s or Servers
○ So they DO NOT BOOT
● Containers are just Containers
○ Packs of binaries and libraries that are executed on a
shared kernel in their own name space.
● They provide great portability and some extra layer of security
17. The marketplace for validated software
and tools available in Docker format for
businesses and publishers
• Easy search and deploy
• Trusted and compliant
• https://store.docker.com
The Docker Store
24. The Dockerfile
FROM ubuntu:trusty
MAINTAINER Andrei Manea <andrei@cloudhero.io>
# Install base packages
RUN apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get -yq install
curl
apache2
Source: https://github.com/cloud-hero/apache-php
INSTRUCTION statement
25. Building an Image
Building an image allows you to create your own custom
images that you can use and share with others.
26. Building an Image
git https://github.com/cloud-hero/apache-php.git docker-demo
cd docker-demo
docker build -t cloudhero/apache-php .
docker images ls
Source: https://github.com/cloud-hero/apache-php
29. Committing an Image
docker run -ti ubuntu bash
root@9923jj4a9 apt update && apt install nginx-full
---
docker ps -a
docker commit -m “Added Nginx” -a “Andrei Manea” 9923jj4a9
nginx-ubuntu:latest
docker images ls
30. Settings Tags on an Image
Tags (or image names) can be used to organise and find
images easier.
31. Settings Tags on an Image
docker tag 9923jj4a9 my-hub-id/nginx-ubuntu:latest
32. Push an Images to Docker Hub / Store
Once you’ve built or created a new image you can push it to
Docker Hub using the docker push command.
This allows you to share it with others, either publicly, or push it
into a private repository.
33. Push an Images to Docker Hub / Store
docker push my-hub-id/nginx-ubuntu:latest
35. Managing Containers
We can list all the running container.
docker container ls
And then all the container existing on the host.
docker container ls -a
From this list, get the id of the container in which we installed the figlet package and restart the
container using the ‘start’ command.
docker container start CONTAINER_ID
Run an interactive shell in this container. We will use the exec command to do so.
docker container exec -ti CONTAINER_ID bash
figlet Still Here!
exit
36. Managing Containers
We can list all the running container.
docker container ls
And then all the container existing on the host.
docker container ls -a
From this list, get the id of the container that you want to delete.
docker container rm CONTAINER_ID (or force a running container with `rm -f`)
Mass deletion of containers.
docker container ls -aq
Docker container rm `docker container ls -aq`
38. Data persistency without a Volume
Let’s run an interactive shell within an alpine container named c1.
docker container run --name c1 -ti alpine sh
We will create the /data folder and a dummy hello.txt file in it.
mkdir /data && cd /data && touch hello.txt
We will then check how the read-write layer (container layer) is accessible from the host.
Let exit the container first
exit
Let’s inspect our container in order to get the location of the container’s layer. We can use the
inspect command and then scroll into the output until the GraphDriver key, like the following.
docker container inspect -f "{{ json .GraphDriver }}" c1 | python -m
json.tool
39. Data persistency without a Volume
ls /graph/overlay2/[YOUR_ID]/diff/data
docker container rm c1
It seems the folder defined in the UpperDir above does not exist anymore. Do
you confirm that ? Try running the ls command again and see the results.
40. Data persistency with a Volume
Defining a volume in a Dockerfile
FROM alpine
VOLUME ["/data"]
ENTRYPOINT ["/bin/sh"]
Let’s build an image from this Dockerfile.
docker image build -t img1 .
docker container run --name c2 -ti img1
We should then end up in a shell within the container. From there, we will go into /data and create a
hello.txt file.
cd /data
touch hello.txt
ls
41. Data persistency with a Volume
Let’s create a container from the alpine image, we’ll use the -d option so it runs in background
and also define a volume on /data as we’ve done previously. In order the PID 1 process remains
active, we use the following command that pings Google DNS and log the output in a file within
the /data folder.
ping 8.8.8.8 > /data/ping.txt
The container is ran that way:
docker container run --name c3 -d -v /data alpine sh -c 'ping 8.8.8.8 >
/data/ping.txt'
42. Data Volume API
The volume API introduced in Docker 1.9 enables to perform operations on volume very easily.
First have a look at the commands available in the volume API.
docker volume --help
We will start with the create command, and create a volume named html.
docker volume create --name html
If we list the existing volume, our html volume should be the only one.
docker volume ls
The output should be something like
DRIVER VOLUME NAME
[other previously created volumes]
local html
docker container run --name www -d -p 8080:80 -v html:/usr/share/nginx/html nginx
44. The Docker Network Command
The docker network command is the main command for configuring and managing
container networks. Run the docker network command from the first terminal.
docker network
Run a docker network ls command to view existing container networks on the current
Docker host.
docker network ls
Every clean installation of Docker comes with a pre-built network called bridge. Verify this
with the docker network ls.
All networks created with the bridge driver are based on a Linux bridge (a.k.a. a virtual
switch).
48. Docker service is a part of Docker’s native approach for container
orchestration
49. ● transition from deploying containers individually on a single host, to deploying
complex multi-container apps on many machines.
● a distributed platform, independent from infrastructure, that stays online through
the entire lifetime of your application, surviving hardware failure and software
updates.
Container Orchestration is:
50. docker swarm init --advertise-addr
$(hostname -i)
Copy the join command (watch out for newlines) output
and paste it in the other terminal.
Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
51. Type the below command in the first terminal:
docker node ls
That last line will show you a list of all the nodes, something like this:
ID HOSTNAME STATUS
AVAILABILITY MANAGER STATUS
kytp4gq5mrvmdbb0qpifdxeiv * node1 Ready Active
Leader
lz1j4d6290j8lityk4w0cxls5 node2 Ready Active
If you try to execute an administrative command in a non-leader node
worker, you’ll get an error. Try it here:
docker node ls
Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
52. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
docker service create --name hello -p 80:80
cloudhero/apache-php
53. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Set your browser to:
http://localhost:80
54. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Scale Up:
docker service scale hello=3
Let’s check our service status:
docker service ps hello
55. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Set your browser to:
http://localhost:80
And refresh multiple times:
56. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Scale Down:
docker service scale hello=2
Let’s check our service status:
docker service ps hello
57. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Set your browser to:
http://localhost:80
And refresh multiple times:
58. Get a Docker
Swarm Cluster
Create Services
Test
Update
Scale
Scalable and Highly Available Hello-World With Docker
Update Publisher Port
docker service update --publish-add 81:80
hello
docker services ls
Set your browser to:
http://localhost:81