2024-03-27

  • Docker Swarm
    • Deploying a service : docker service create --replicas 1 --name helloworld alpine ping google.com
    • Verify and Inspect service: docker service inspect --pretty helloworld
    • Scale Service: docker service scale helloworld=5 to increase the number of replicas.
    • Delete a service: docker service rm helloworld deletes the service.