July Release Confetti
150+ New Courses, Hands‑On Labs, And
Interactive Learning Activities
Learn More

Creating a Docker Swarm Service

Length: 00:07:42

Lesson Summary:

Now that we have a swarm setup, we will go and create a swarm service.

docker volume create swarm-vol
docker service create --name  --publish published=80,target=80 \
--replicas 2 --mount source=swarm-vol,destination=/usr/share/nginx/html \
nginx:latest


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More